Refunds
Overview
The Refunds API lets merchants initiate refunds for completed transactions. It’s often used when a customer cancels an order, reports a double charge, or qualifies for a promotional refund
Endpoint
POST {baseUrl}/api/v1/Refunds/InitiateRefund Initiates a refund request.
Authentication
Use a Bearer token via the Authorization header.
Request Body
JSON
{
"transactionReference": "SSP6387756GL02507RDF56CBE",
"amount": 5000,
"reason": "Customer canceled order",
"explainMore": "Add detailed description here"
}Response Example
JSON
{
"data": true,
"httpStatusCode": 200,
"hasError": false,
"responseMessage": {
"title": "Successful"
},
"responseCode": 0
}Curl Sample
Refund Status API Allows querying the status of a previously initiated refund.
Sample Request Replace {refund_id} with your actual refund identifier. GET {baseUrl}/api/v1/Refunds/GetRefund?transactionNumber={refund_id}
Response Example
GET All Refunds Sample Request : {baseUrl}/api/v1/Refunds/GetAllRefunds
Suggested Usage
Use Refunds for amicable resolutions.
Use Chargebacks when a refund is not possible or there’s a customer dispute requiring formal review.
Last updated