Production API Request Flow
Recommended request order for live operations with explicit ownership scope and transaction auditability.
- Authenticate and obtain user JWT or app API key.
- Create/update products through
/v1/productsendpoints. - Start checkout from Pay with your product ID.
- Receive and validate callback/webhook signatures.
- Query transaction outcomes from
/v1/transaction/statusor/v1/transactions.
Required headers
Authorization: Bearer <token>
Content-Type: application/json Error-handling baseline
- Retry transient failures (5xx) with exponential backoff.
- Treat
401/403as auth/permission issues. - Treat
409as business conflicts (for example product delete blockers). - Log transaction ids, webhook event ids, and request ids for traceability.