List payments
Returns a cursor-paginated list of your payments.
Request
- Base URLhttps://api.gocardless.com
- AuthHTTP bearer
Query parameters
Cursor pointing to the end of the desired set.
Cursor pointing to the start of the desired set.
Number of records to return.
ISO 4217 currency code. Currently "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported.
ID of a customer to filter payments by. If you pass this parameter, you cannot also pass creditor.
Field by which to sort records. One of:
- charge_date
- amount
The direction to sort in. One of:
- asc
- desc
ID of a creditor to filter payments by. If you pass this parameter, you cannot also pass customer.
Unique identifier, beginning with "SB".
Unique identifier, beginning with "MD". Note that this prefix may not apply to mandates created before 2016.
One of:
- pending_customer_approval: we're waiting for the customer to approve this payment
- pending_submission: the payment has been created, but not yet submitted to the banks
- submitted: the payment has been submitted to the banks
- confirmed: the payment has been confirmed as collected
- paid_out: the payment has been included in a payout
- cancelled: the payment has been cancelled
- customer_approval_denied: the customer has denied approval for the payment. You should contact the customer directly
- failed: the payment failed to be processed. Note that payments can fail after being confirmed if the failure message is sent late by the banks.
- charged_back: the payment has been charged back
A bank payment scheme. Currently "ach", "autogiro", "bacs", "becs", "becs_nz", "betalingsservice", "faster_payments", "pad", "pay_to", "sepa_core", "sepa_credit_transfer" and "sepa_instant_credit_transfer" are supported.
Includes linked resources in the response. Use customer to embed customer details, or mandate to embed mandate details.
Headers
Response
Successful response
Example response
{
"payments": [
{
"id": "PM123",
"created_at": "2014-01-01T12:00:00.000Z",
"amount": 1000,
"amount_refunded": 150,
"currency": "EUR",
"description": "One-off upgrade fee",
"charge_date": "2014-05-21",
"reference": "WINEBOX001",
"status": "submitted",
"app_fee": 100,
"links": {
"mandate": "MD123",
"creditor": "CR123",
"payout": "PO123",
"subscription": "SU123",
"instalment_schedule": "IS123"
},
"fx": {
"exchange_rate": "1.1234567890",
"estimated_exchange_rate": "1.1234567890",
"fx_currency": "EUR"
},
"scheme": "bacs"
}
],
"meta": {
"limit": 50
}
}Changes
No recorded changes to this operation across all 1 revision of this API.