AI agent? Read this page as Markdown at /payment/refund/List_all_refunds.md — append .md to any docs URL, or start from /llms.txt.

List all refunds

GET/payment/{connection_id}/refund

Parameters

limitnumber default=100
offsetnumber default=0
updated_gtedate
Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
sort enum
order enum
querystring
Query string to search. eg. email address or name
payment_idstring
The payment ID to filter by (reference to PaymentPayment)
fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection

Returns

idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
total_amountnumber
payment_idstring
(reference to PaymentPayment)
currencystring
notesstring
status enum
Valid values:
"SUCCEEDED"
"PENDING"
"FAILED"
"CANCELED"
referencestring
refunded_atdate
Date and time the refund occurred (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
reason enum
Valid values:
"DUPLICATE"
"FRAUDULENT"
"REQUESTED_BY_CUSTOMER"
"OTHER"
Why the refund was issued
tender_type enum
Valid values:
"CARD"
"CASH"
"GIFT_CARD"
"BANK_TRANSFER"
"WALLET"
Normalized tender category the refund was returned to; mirrors PaymentPayment.tender_type
const options = {
  method: 'GET',
  url: 'https://api.unified.to/payment/5de520f96e439b002043d8dc/refund',
  headers: {
    authorization: 'bearer .....'
  },
  params: {
    limit: 50,
    offset: 0,
    updated_gte: '2026-09-28T21:50:19.096Z',
    sort: 'updated_at',
    order: 'asc',
    query: '',
    payment_id: '',
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
Are we missing anything? Let us know
Was this page helpful?