An API-first billing platform.
A clean REST API, typed SDKs, reliable webhooks, and idempotency keys — backed by an open-source core you can actually read. Drop GetPaidHQ into your stack and start billing in minutes.
Free and open-source under AGPLv3 — self-host today, or talk to us about cloud.
Create a customer and subscription.
Typed SDKs for the languages you already use, with idempotency keys built in so retries never double-charge.
import { GetPaidHQ } from "@getpaidhq/node"
const gphq = new GetPaidHQ({ apiKey: process.env.GPHQ_API_KEY })
const customer = await gphq.customers.create({
email: "ada@example.com",
name: "Ada Lovelace",
})
const subscription = await gphq.subscriptions.create({
customer: customer.id,
items: [{ price: "price_pro_monthly" }],
processor: "checkout",
}, { idempotencyKey: "sub-ada-2026-06" })Pick your stack and ship.
- Node.js
- Python
- PHP
- Go
- cURL
Official SDKs for Node.js, Python, PHP, and Go — or hit the REST API directly with cURL. Browse the API reference.
The primitives you expect.
A well-designed REST API with the operational guarantees real billing needs.
- Webhooks
- Signed events with automatic retries keep your systems in sync.
- Idempotency
- Idempotency keys make every write safe to retry.
- Pagination
- Cursor- and page-based pagination for large datasets.
- API keys
- Scoped API-key authentication with environment separation.
- Rate limits
- Predictable limits with clear headers and guidance.
- Errors
- Structured, documented error types and codes.
Built for the way you build now.
GetPaidHQ ships with first-class support for AI-assisted development — Claude Code, Cursor, and other MCP-enabled tools — so your agents can integrate billing with the real API surface in front of them.
Start building in minutes.
Self-host GetPaidHQ for free today, or talk to us about managed Cloud.
Free and open-source under AGPLv3 — self-host today, or talk to us about cloud.