Go live
The checklist before you move real money.
Verify your company
If you opened your account yourself, live opens only once your company's verification is approved. Start it in the dashboard, in live mode: Settings → Company verification. Until then, every live request other than your account, your team and the verification itself answers 403 verification_required. Sandbox keeps working meanwhile.
Create your live key
In live mode, go to Developers → API keys and create your psp_live_… key. It's shown only once: store it in a secrets manager. If a key is exposed, revoke it there and create a new one.
Change the host and key
Use https://api.caibopay.app and your psp_live_…. The rest of your integration doesn't change.
Register your webhook in live
Webhooks belong to each environment: register your URL again in live and store the new secret.
Read capabilities in live
What's available depends on the environment and your account. Build your forms from the live GET /v1/capabilities, not from what you saw in sandbox.
Check your integration
- Every
POSTthat moves money sends anIdempotency-Keyunique to the operation, and every retry uses the same one. See Idempotency. - You verify the
Psp-Signatureof every webhook against the unmodified body. See Signatures. - You respond
2xxin under 10 seconds and process afterwards. - You discard repeated events by their
id. - You treat
processingandverification_pendingas "not yet", without creating another payment for the same thing. - You decide based on
error.typeanderror.code, never onmessage. - You store the
X-Request-Idof error responses, for support. - You accept new values in statuses and codes without breaking.
- You honor
Retry-Afterwhen you receive429. - You handle amounts as decimal strings, never as floating-point numbers.