Payments
List payments
Get a paginated list of payments with optional filtering
get/payments
Query parameters
limitinteger
Number of items to return
afterstring
Specifies the cursor after which to start returning results. For the first page, this should be left empty. For subsequent pages, use the value of the end_cursor field from the previous response.
beforestring
Specifies the cursor before which to return results. Use this to paginate backwards. For example, to load the previous page, provide the value of the start_cursor field from the last response.
type'payment' | 'refund' | 'chargeback'
Filter by payment type
status'creating' | 'processing' | 'scheduled' | 'succeeded' | 'canceled' | 'failed' | 'pending'
Filter by payment status
customer_idstring
Filter by customer ID
invoice_idstring
Filter by invoice ID
payment_method'card' | 'standard_ach' | 'same_day_ach' | 'manual'
Filter by payment method
created_at_startstring
Filter by creation date start (RFC3339 format)
created_at_endstring
Filter by creation date end (RFC3339 format)
Response
OK
Example response
{
"end_cursor": "gaFpxBACEaXBVABEYbHG+X9LyLnH",
"has_next_page": true,
"start_cursor": "gaFpxBACEaXBVABEYbHG+X9LyLnH"
}