Process payment
POST/v1/:channel/checkout/:token/payment
Converts the checkout into an order and triggers payment processing.
The response shape depends on the payment provider's settlement type:
- complete — order is confirmed immediately (COD, bank transfer)
- redirect — navigate the browser to
payload.url - client_sdk — initialize a client-side SDK with
payload.client_secret
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Payment initiated or completed
Invalid request parameters or body
Missing or invalid API key
Valid API key but insufficient permissions, or checkout ownership mismatch
Channel, product, category, collection, or checkout not found
Stock conflict or checkout already processed