API Key Authentication
All requests require an API key passed as a bearer token in theAuthorization header:
Entity Scoping
Every API key is scoped to an entity in the organization hierarchy. Data access is automatically restricted based on your key’s level.
When you create a payment link, partner- and merchant-scoped keys must specify a
merchant_branch_reference_number. Branch-scoped keys can omit it — the link is created against that branch automatically.
Idempotency
TheIdempotency-Key header is a unique client-generated identifier using letters, digits, dot (.), hyphen (-), and underscore (_), 8–64 characters. Clients often reuse their own order_reference as the key.
POST /checkout(create a payment link) — requiredPOST /checkout/{id}/cancel(cancel a payment link) — optional; cancel is idempotent by nature, so a key is accepted but not required
409 idempotency_mismatch error.
Idempotency keys expire after 24 hours. Generate a fresh key for each distinct operation.
Request headers
Response headers
Every response includes:Rate limits
Requests are rate-limited per API key per endpoint.
When rate limited, the API returns a
429 rate_limited response. Check the Retry-After header for the number of seconds to wait before retrying.