Regoria merchant API
Products and plans, hosted checkout and orders, customers and the portal, charges, refunds and saved cards, subscriptions, balance and payouts, disputes, webhooks. Amounts are integer cents in USD; every call takes your API key as the bearer token.
API reference (72 operations) · Event catalogue (26 events) · Build with AI
Guides
- Getting started
A test key, your first call, a product and a hosted checkout in ten minutes.
- Authentication and API keys
Bearer keys, test and live modes, scopes, store-bound keys, rotation and revocation.
- Test mode and the sandbox
What the sandbox is, what differs from live, and how to exercise every flow without moving money.
- Idempotency
The Idempotency-Key header on operations that create money state, what a replay returns, and the conflicts.
- Pagination, sorting and filtering
Numbered pages, X-Total-Count and Link, the sort parameter, key[] filters and date ranges in your time zone.
- Errors
The errors[] shape, the stable keys and their statuses, Retry-After, and the correlation id to quote to support.
- Webhooks
Endpoints, the signed envelope and how to verify it, retries and backoff, replay, disabling and the event catalogue.
- Hosted checkout end to end
Open a session, send the buyer, receive order.paid, fulfil the order; plus saved cards and server-side orders.
- Subscriptions
Recurring prices, how a subscription starts, renewals and past due, plan changes with buyer confirmation, pause and resume, cancellation, and merchant-managed billing.
- Refunds and disputes
Partial and full refunds, approval holds, how a refund settles against your balance; chargebacks and retrievals, evidence and fees.
- Customers and the portal
Your customer_ref as the key, the customer record, saved cards, and one-time links into the hosted customer portal.
- Balance and payouts
How a sale becomes balance, the reserve, monthly payouts, balance transactions and payout reconciliation.
- Versioning and deprecation
The /v1 path, what counts as an additive change, the Deprecation and Sunset headers and the 90-day rule, the changelog and the spec fingerprint.
- Rate limits
Requests per minute per key, the RateLimit-* headers, the 429 answer and how to back off.
- Security and PCI scope
Card data never reaches you, what you may store, keys and webhook secrets, TLS, and what to do if a secret leaks.
- Build with AI
Point a coding agent at these docs: the MCP server, llms.txt, a CLAUDE.md snippet with the rules, and three prompts that work.
- Changelog
Every change to the merchant API, newest first, with the spec fingerprint it published.