API Reference · Payments

List payments

Returns a cursor-paginated list of payments.

GET/v1/payments

Sorted by `created` descending. Supports filtering by customer, status, and date range.

Query parameters

limitintegerdefault: 10

Max results.

Constraints: 1 <= limit <= 100

starting_afterstring

Cursor for the next page.

ending_beforestring

Cursor for the previous page.

customerstring

Filter to a single customer id.

statusstring

Filter by status.

Allowed values: PENDING SUCCEEDED FAILED REFUNDED PARTIALLY_REFUNDED

created[gte]integer

Lower bound for the `created` field (unix timestamp, inclusive).

created[lte]integer

Upper bound for the `created` field (unix timestamp, inclusive).