List refunds
Returns a paginated list of refunds, with optional filtering by payment, company, user, and creation date.
Required permissions:
payment:basic:read
Authorizations
An Account API key, account-scoped JWT, App API key, or user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************.
Query Parameters
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
42
Returns the last n elements from the list.
42
Filter refunds to those associated with this specific payment. Mutually exclusive with company_id and user_id: provide exactly one.
"pay_xxxxxxxxxxxxxx"
Filter refunds to those associated with this specific user. Mutually exclusive with payment_id and company_id: provide exactly one. Requires a credential belonging to that user; any other credential receives 'You are not authorized'.
"user_xxxxxxxxxxxxx"
The sort direction for ordering results, either ascending or descending.
asc, desc Only return refunds created before this timestamp.
"2023-12-01T05:00:00.401Z"
Only return refunds created after this timestamp.
"2023-12-01T05:00:00.401Z"
Filter refunds to those belonging to this company. Mutually exclusive with payment_id and user_id: provide exactly one.
"biz_xxxxxxxxxxxxxx"

