Payments
Endpoints
GET /api/v1/payments
GET /api/v1/paymentsAuthorizations
X-API-KeystringRequired
Scoped API key. Scopes: read, commerce, admin.
Query parameters
limitinteger · min: 1 · max: 100OptionalDefault:
Max items to return (1–100, default 20)
20offsetintegerOptionalDefault:
Number of items to skip (default 0)
0sortstringOptional
Field to sort by
sortDirstring · enumOptionalDefault:
Sort direction
ascPossible values: statusstringOptional
Filter by status
Responses
200
Paginated list of payment sessions
401
API key missing or invalid
application/json
get/payments
No content
POST /api/v1/payments
POST /api/v1/paymentsAuthorizations
X-API-KeystringRequired
Scoped API key. Scopes: read, commerce, admin.
Header parameters
Idempotency-KeystringOptional
Idempotency key to safely retry without creating duplicates
Body
accountIdstringRequired
amountCentsintegerRequired
currencystringRequired
invoiceIdstringOptional
paymentPageSlugstringOptional
Responses
201
Payment session created
No content
400
Validation error
application/json
post/payments
No content
GET /api/v1/payments/{id}
GET /api/v1/payments/{id}POST /api/v1/payments/{id}/complete
POST /api/v1/payments/{id}/completeLast updated
Was this helpful?
