Create a refund
Refunds
Create a refund
Create a refund
POST
Create a refund
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
A unique identifier to track this operation. It must be between 12 and 255 characters in length.
Required string length:
12 - 255A unique identifier to prevent duplicate requests. It must be between 12 and 255 characters in length.
Required string length:
12 - 255Body
application/json
A refund of a previously created charge
Amount of the refund
Required range:
x >= 0.01Example:
12.34
ID of the charge to refund
Reason for the refund
Available options:
duplicate, fraudulent, requested_by_customer, expired_uncaptured_charge Example:
"requested_by_customer"