Refunds

List refunds

get

Get a paginated list of refunds with optional filtering

Authorizations
OAuth2applicationRequired
Token URL:
Query parameters
limitintegerOptional

Number of items to return

afterstringOptional

Specifies the cursor after which to start returning results. For the first page, this should be left empty. For subsequent pages, use the value of the end_cursor field from the previous response.

beforestringOptional

Specifies the cursor before which to return results. Use this to paginate backwards. For example, to load the previous page, provide the value of the start_cursor field from the last response.

customer_idstringOptional

Filter by customer ID

invoice_idstringOptional

Filter by invoice ID

payment_methodstring · enumOptional

Filter by payment method

Possible values:
created_at_startstringOptional

Filter by creation date start (RFC3339 format)

created_at_endstringOptional

Filter by creation date end (RFC3339 format)

Responses
200

OK

application/json
get
/refunds

Create refund

post

Create a full refund for a payment. Partial refunds are not supported.

Authorizations
OAuth2applicationRequired
Token URL:
Body

Request body for creating a refund

amountstringOptionalExample: 50.00
idempotency_keystringOptionalExample: 00000000-0000-0000-0000-000000000000
payment_idstringOptionalExample: 00000000-0000-0000-0000-000000000000
Responses
post
/refunds

Get refund by ID

get

Retrieve detailed information about a specific refund

Authorizations
OAuth2applicationRequired
Token URL:
Path parameters
idstringRequired

Refund ID

Responses
200

OK

application/json
get
/refunds/{id}

Last updated

Was this helpful?