post https://api.flutterwave.com/v3/charges//refund
Refund pre-authorization transactions.
Log in to see full request history
time | status | user agent | |
---|---|---|---|
Retrieving recent requests… |
Loading…
Responses
Refund pre-authorization transactions.
time | status | user agent | |
---|---|---|---|
Retrieving recent requests… |
xxxxxxxxxx
curl --request POST \
--url https://api.flutterwave.com/v3/charges/FLW001296992/refund \
--header 'Authorization: Bearer FLWSECK_TEST-SANDBOXDEMOKEY-X' \
--header 'Content-Type: application/json' \
--header 'accept: application/json' \
--data '{"amount":"1000"}'
xxxxxxxxxx
45}
{
"status": "success",
"message": "Charge refunded",
"data": {
"id": 1196959,
"tx_ref": "MC-1585591130282",
"flw_ref": "FLW001297026",
"device_fingerprint": "69e6b7f0b72037aa8428b70fbe03986c",
"amount": 10000,
"charged_amount": 10000,
"app_fee": 3416,
"merchant_fee": 0,
"processor_response": "APPROVED",
"auth_model": "VBVSECURECODE",
"currency": "NGN",
"ip": "169.123.8.9",
"narration": "FLW-PBF CARD Transaction ",
"status": "successful",
"auth_url": "N/A",
"payment_type": "card",
"fraud_status": "ok",
"charge_type": "preauth",