Authentication
Include your Secret Key in the Authorization header as a Bearer token.
Request Body
The ID of the original successful transaction.
Refund amount in smallest currency unit. If omitted, a full refund is issued.
Code for the refund reason: requested_by_customer, duplicate, fraudulent, other.
Additional context for the refund (up to 500 characters).
Response
Unique identifier for the transaction/refund wrapper.
The specific ID of the refund (e.g., rf_...).
Status of the refund (succeeded, pending, failed).
{
"status_code": 200,
"response_type": "success",
"data": {
"id": "658dc...",
"refund_id": "rf_abc123...",
"amount": "1000",
"currency": "XAF",
"status": "succeeded",
"reason": "requested_by_customer"
}
}