v1

latestOpenAPI 3.0.12026-07-225791279.7 KB
Refunds And Chargebacks

Initiate Refund

This endpoint is used to initiate a refund for a card transaction.

post/refund-chargeback/refund/merchant/api/refund

Request body

transaction_referencestring required

Unique reference of the original transaction to be refunded.

refund_amountnumber double required

Amount to be refunded.

refund_reasonstring nullable

Reason for the refund.

Example request

{
  "transaction_reference": "APRQWE1001",
  "refund_amount": 0.05,
  "refund_reason": "Refund"
}

Response

Initiate Refund Response

messagestring

General status message.

Example response

{
  "message": "Operation Completed",
  "data": {
    "message": "Refund Processed Successfully",
    "refund_transaction_reference": "RF20230228-LDUUSD",
    "payment_transaction_reference": "APRQWE1001",
    "status": "SUCCESS",
    "original_transaction_amount": 0.05,
    "refunded_amount": 0.05,
    "successful": true
  }
}