List payment refunds

Retrieve a list of all refunds created for a specific payment.

The results are paginated.

Access with

API key

Organization access token with refunds.read

OAuth access with refunds.read

Path Params
string
required

Provide the ID of the related payment.

Query Params
string

Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the result set.

integer | null
1 to 250
Defaults to 50

The maximum number of items to return. Defaults to 50 items.

string
enum

This endpoint allows embedding related API items by appending the following values via the embed query string parameter.

Show Details
paymentEmbed the payment related to this refund.
Allowed:
boolean

Most API credentials are specifically created for either live mode or test mode. In those cases the testmode query parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting the testmode query parameter to true.

Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.

Responses

Language
Credentials
Request
Response
Choose an example:
application/hal+json