Loading...
Loading...
API reference
Open the live explorer, verify the auth mode, inspect the exact response fields, and run the same payment path you will promote to production later. This page exists to remove guesswork from the first integration pass.
The fastest validation loop is simple: create a sandbox key, run one payment request, inspect the settled payload, then keep the same request shape when you swap to live credentials.
What to verify
Request contract
Why it matters
Inspect the same request and response shapes the SDKs and dashboard use before you create a live record.
What to verify
Mode clarity
Why it matters
Swap only the credential prefix when you move from sandbox to live. The endpoint surface stays the same.
What to verify
Reference source
Why it matters
The embedded explorer and the full-screen reference read from the same OpenAPI document, so the contract does not fork.
Keep this reference open when the question is "what does the endpoint actually expect right now?" rather than "where is the marketing overview?"
Operator rules
Sandbox key format
`sk_test_...`
Live key format
`sk_live_...`
Primary schema source
`/api/openapi`
Full-screen reference
`/api`
Best entry points
Create a sandbox payment
Start with POST /v1/payments to verify auth, request validation, hosted checkout, and the first payment state transition.
Inspect a settled payment
Use GET /v1/payments/{id} after a sandbox run to confirm conversion, settlement, and webhook-facing fields.
Promote the same flow to live
Once the sandbox contract matches your code, replace the test key with a live key and keep the same request path.
Interactive API explorer
This embedded reference uses the same OpenAPI source as the full-screen `/api` route, so you can inspect schemas here without switching context.