Payments
GET /api/v1/payments
GET /api/v1/paymentsResponse 200
200{
"data": [
{
"id": "pmt_01H...",
"status": "success",
"amountCents": 4900,
"currency": "USD",
"createdAt": "2026-05-02T14:01:23Z"
}
],
"nextActions": [
{ "rel": "createPaymentSession", "method": "POST", "href": "/api/v1/payments" }
]
}cURL
POST /api/v1/payments
POST /api/v1/paymentsBody
Field
Type
Required
Description
Response 201
201Errors
Status
When
cURL
GET /api/v1/payments/{id}
GET /api/v1/payments/{id}Response 200
200Errors
Status
When
cURL
POST /api/v1/payments/{id}/complete
POST /api/v1/payments/{id}/completeResponse 200
200Errors
Status
When
cURL
POST /api/v1/invoices/{id}/pay
POST /api/v1/invoices/{id}/payBody
Field
Type
Required
Response 201
201cURL
POST /api/v1/payment-methods
POST /api/v1/payment-methodsBody
Field
Type
Required
Response 201
201Errors
Status
When
cURL
POST /api/v1/payment-methods/{id}/set-default
POST /api/v1/payment-methods/{id}/set-defaultResponse 200
200cURL
Related
Last updated
Was this helpful?
