List refunds
Use this method to return a paginated list of refunds.
Note: If you want to view a specific refund and you have its refundId, use our Retrieve Refund method.
Use query parameters to filter the list of results that we return, for example, to search for refunds for a customer, a tender type, or a date range. Our gateway returns the following information about each refund in the list:
- Order details, including the refund amount and when we processed the refund.
- Payment card details, including the masked card number, expiry date, and payment method.
- Cardholder details, including their contact information and shipping address.
For referenced refunds, our gateway also returns details about the payment that the refund is linked to.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
processingTerminalId
Filter by terminal ID.
orderId
Filter refunds by the unique identifier that the merchant assigned to the order.
operator
Filter refunds by the operator who initiated the request.
cardholderName
Filter refunds by cardholder name.
first6
Filter refunds by the first six digits of the card number.
last4
Filter refunds by the last four digits of the card number.
tender
Filter by tender type.
Allowed values:
status
Filter refunds by the current status of the refund.
dateFrom
Filter by refunds processed after a specific date. The date format follows the ISO 8601 standard.
dateTo
Filter by refunds processed before a specific date. The date format follows the ISO 8601 standard.
settlementState
Status of the settlement.
Allowed values:
settlementDate
Date the transaction was settled.
before
Points to the resource identifier that you want to receive your results before. Typically, this is the first resource on the previous page.
after
Points to the resource identifier that you want to receive your results after. Typically, this is the last resource on the previous page.
limit
States the total amount of results the response is limited to.
Response
Successful request. Returns a paginated list of refunds.
limit
Maximum number of results that we return for each page.
count
Number of results that we returned.
hasMore
Indicates that further results are available.
data
Array of refund objects.
links
Reference links to navigate to the previous page of results or to the next page of results.