Refunds
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 · enumOptionalPossible values:
Filter by payment method
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
400
Bad Request
application/json
get
/refundsAuthorizations
OAuth2applicationRequired
Token URL:
Body
Request body for creating a refund
amountstringOptionalExample:
50.00idempotency_keystringOptionalExample:
00000000-0000-0000-0000-000000000000payment_idstringOptionalExample:
00000000-0000-0000-0000-000000000000Responses
201
Refund is being processed!
application/json
400
Bad Request
application/json
404
Not Found
application/json
422
Unprocessable Entity
application/json
500
Internal Server Error
application/json
post
/refundsLast updated
Was this helpful?
