Retrieves a list of refunds for the account making the request.
GET
/v2/refunds
Retrieves a list of refunds for the account making the request.
Results are eventually consistent, and new refunds or changes to refunds might take several seconds to appear.
The maximum results per page is 100.
Indicates the start of the time range to retrieve each PaymentRefund
for, in RFC 3339 format. The range is determined using the created_at
field for each PaymentRefund
.
Default: The current time minus one year.
Indicates the end of the time range to retrieve each PaymentRefund
for, in RFC 3339 format. The range is determined using the created_at
field for each PaymentRefund
.
Default: The current time.
The order in which results are listed by PaymentRefund.created_at
:
ASC
- Oldest to newest.DESC
- Newest to oldest (default).A pagination cursor returned by a previous call to this endpoint. Provide this cursor to retrieve the next set of results for the original query.
For more information, see Pagination.
Limit results to the location supplied. By default, results are returned for all locations associated with the seller.
If provided, only refunds with the given status are returned. For a list of refund status values, see PaymentRefund.
Default: If omitted, refunds are returned regardless of their status.
If provided, only returns refunds whose payments have the indicated source type. Current values include CARD
, BANK_ACCOUNT
, WALLET
, CASH
, and EXTERNAL
. For information about these payment source types, see Take Payments.
Default: If omitted, refunds are returned regardless of the source type.
The pagination cursor to be used in a subsequent request. If empty, this is the final response.
For more information, see Pagination.