Skip to main content
GET
cURL
Lists every refund, one page at a time, under data. Each record carries its amount as a string, the payment_method, the reconcile_status, and the account and credit note it belongs to. To filter, add filter_<field>=<value>, or filter_<field>_<operator>=<value> with an operator such as gte or contains.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set host to your Exsited API host name and paste an access token from Get an access token.

Authorizations

Authorization
string
header
required

An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.

Query Parameters

limit
integer

The most records to return on one page.

Example:

20

cursor
string

The next_cursor value from the previous page, to fetch the page after it.

sort
string

The field to sort by. Put - in front for descending order, such as -created_on.

Example:

"-created_on"

Response

200 - application/json

One page of refunds, under data, with pagination.

data
object[]
object
string
pagination
object
url
string