List Refunds

GET {{url}}/refunds

Returns a cursor-paginated list of your refunds.

List Refunds API Docs

Request Params

KeyDatatypeRequiredDescription
afternullCursor pointing to the start of the desired set.
beforenullCursor pointing to the end of the desired set.
created_at[gt]nullLimit to records created after the specified date-time.
created_at[gte]nullLimit to records created on or after the specified date-time.
created_at[lt]nullLimit to records created before the specified date-time.
created_at[lte]nullLimit to records created on or before the specified date-time.
limitnullNumber of records to return.
mandatenullUnique identifier, beginning with “MD”. Note that this prefix may not apply to mandates created before 2016.
paymentnullUnique identifier, beginning with “PM”.
refund_typenullWhether a refund was issued against a mandate or a payment. One of:
payment: default returns refunds created against payments only

mandate: returns refunds created against mandates only |

RESPONSES

status: OK

{"refunds":[{"id":"RF00006WH7E0ZW","amount":99570,"created_at":"2024-02-29T16:15:50.817Z","reference":"all","metadata":{},"currency":"GBP","status":"paid","fx":{"fx_currency":null,"fx_amount":null,"exchange_rate":null,"estimated_exchange_rate":null},"links":{"payment":"PM009DBTMPXV6N","mandate":"MD000Z4AQ9G168"}},{"id":"RF00006M66RKXF","amount":10000,"created_at":"2023-12-01T11:10:39.111Z","reference":"Test","metadata":{},"currency":"GBP","status":"paid","fx":{"fx_currency":null,"fx_amount":null,"exchange_rate":null,"estimated_exchange_rate":null},"links":{"payment":"PM008QMJS3MQYW","mandate":"MD000T26GECNGF"}},{"id":"RF00005WNNNV9P","amount":9856,"created_at":"2023-05-05T09:03:07.751Z","reference":"Test","metadata":{},"currency":"GBP","status":"paid","fx":{"fx_currency":null,"fx_amount":null,"exchange_rate":null,"estimated_exchange_rate":null},"links":{"payment":"PM00780CPN9J90","mandate":"MD000R3V6899RP"}}],"meta":{"cursors":{"before":null,"after":null},"limit":50}}