X-Suby-Api-Key header on every request.
Keys
Generate keys in dashboard settings. A key is shown once · store it in a secret manager, never in client-side code or a repo.
The environment comes from the prefix · there is no environment header. LIVE and sandbox data are isolated.
Sandbox
- Cards · test numbers, e.g.
4242 4242 4242 4242. - Crypto · Base Sepolia only (
chainId84532). Auto-selected if you specify nothing. - Refunds · skip the provider, mark the payment
REFUNDEDdirectly. - Saving a card · a
setupsession with the test card stores api_…you can then debit off-session. - Webhooks · fire normally.
Failures
401 on a missing or invalid key, 429 when rate-limited (per key · back off and retry).

