Payments
List payments
List subscription payments, newest first.
GET/v1/payments
Parameters
| Parameter | Description |
|---|---|
| customer_idstring | null · queryoptional | At most 64 characters. |
| limitinteger · queryoptional | Defaults to 10. Between 1 and 100. |
| starting_afterstring | null · queryoptional | At most 128 characters. |
| expandstring | null · queryoptional | At most 256 characters. |
Cursor-paginated. limit caps a page and starting_after takes the last id you
saw.
Returns
Returns a page of PaymentResponse objects. data holds the page and has_more says whether another one exists. Page forward by passing the last id of the page as starting_after; a short page is not the end of the list.
Errors
| Status | Cause |
|---|---|
| 401 | Missing or invalid API key. |
| 403 | Key is missing the payments:read scope. |
| 422 | Validation Error |
| 429 | Rate limited. Back off and retry. |
Other payments operations
- Get payment GET /v1/payments/{payment_id}
- Get payment provider payload GET /v1/payments/{payment_id}/provider
BillKit