POST
/
v1
/
refunds

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
amount
integer
required

Amount in cents

payment_id
string
required

Payment ID linked to this refund

reason
enum<string>
required

Reason for the refund

Available options:
requested_by_customer,
duplicate,
fraudulent

Response

200 - application/json
amount
integer

Amount in cents

created_at
string
payment_id
string
reason
enum<string>

Reason for the refund

Available options:
requested_by_customer,
duplicate,
fraudulent
refund_id
string
status
enum<string>

Status of the refund, a refund is a reversed payment

Available options:
payment_holding,
payment_pending,
payment_failure,
payment_success,
payment_cancelled