Create a refund
Create a refund
Last updated 19 October 2026
https://developersandbox-api.flutterwave.com/refunds
authorization string required
Pass your OAuth access token as a bearer token in the request header to authorize this call
FILL IN ALL REQUIRED FIELDS
X-Trace-Id string
A unique identifier to track this operation. It must be between 12 and 255 characters in length.
X-Idempotency-Key string
A unique identifier to prevent duplicate requests. It must be between 12 and 255 characters in length.
FILL IN ALL REQUIRED FIELDS
amount number (decimal) required
The payment amount in decimals. minimum 0.01
charge_id string required
ID of the charge to refund
meta object
reason string required
Reason for the refund Allowed values: duplicate, fraudulent, requested_by_customer, expired_uncaptured_charge
FILL IN ALL REQUIRED FIELDS
status string
Allowed values: success, failed
message string
data object
A refund of a previously created charge
FILL IN ALL REQUIRED FIELDS
id string
ID of the refund
amount_refunded number (decimal)
The payment amount in decimals. minimum 0.01
meta object
reason string
Reason for the refund Allowed values: duplicate, fraudulent, requested_by_customer, expired_uncaptured_charge
status string
Status of the refund Allowed values: pending, requires_action, succeeded, failed, cancelled, completed, new
charge_id string
ID of the charge tied to this refund
created_datetime string
FILL IN ALL REQUIRED FIELDS
status string
Allowed values: failed
error object
The request cannot be accepted and is malformed and/or missing required parameters.
FILL IN ALL REQUIRED FIELDS
type string
code string
message string
validation_errors array of object
FILL IN ALL REQUIRED FIELDS
field_name string
message string
FILL IN ALL REQUIRED FIELDS
status string
Allowed values: failed
message string
Invalid API key provided
error object
FILL IN ALL REQUIRED FIELDS
type string
code string
message string
FILL IN ALL REQUIRED FIELDS
status string
Allowed values: failed
message string
API key doesn't have permission to access this resource
error object
FILL IN ALL REQUIRED FIELDS
type string
code string
message string
FILL IN ALL REQUIRED FIELDS
status string
Allowed values: failed
message string
The request conflicts with another request
error object
FILL IN ALL REQUIRED FIELDS
type string
code string
message string
Shell