Refunds
List refunds
Returns one page of refunds.
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
An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.
Query Parameters
The most records to return on one page.
Example:
20
The next_cursor value from the previous page, to fetch the page after it.
The field to sort by. Put - in front for descending order, such as -created_on.
Example:
"-created_on"