Skip to main content
POST
Create Refund

Authentication

Include your Secret Key in the Authorization header as a Bearer token.

Request Body

string
required
The ID of the original successful transaction.
string
Refund amount in smallest currency unit. If omitted, a full refund is issued.
string
Code for the refund reason: requested_by_customer, duplicate, fraudulent, other.
string
Additional context for the refund (up to 500 characters).

Response

string
Unique identifier for the transaction/refund wrapper.
string
The specific ID of the refund (e.g., rf_...).
string
The amount refunded.
string
The currency code.
string
Status of the refund (succeeded, pending, failed).
string
Reason for the refund.