Refund initiates a refund of an existing paid transaction back to source.

If the refund request is approved, Tazapay will refund the amount to the source used by the buyer to make the payment.

📘

Depending on the payment method, Tazapay may not be able to process refunds. For more info, read our FAQ

{
  "txn_no": "2021-20053",
  "amount": 200,
  "remarks": "refund"
  "documents": [ 
    {
      "file_name": "file_name",
      "url": "https://direct.download.link"
    }
  ]
}

Object body Parameters

ParameterDescription
txn_no
required
String Transcation number received from create_escrow API response
Amount
optional
INT Amount to be refunded. If omitted, the request will be registered for a refund of the full escrow (refund_amount cannot be greater than the invoice_amount of the underlying transaction/escrow)
remarks
optional
string free text to add any additional details concerning the refund request
documents
optional
[] release_docs Any document to support the refund request
Please check documents

documents

ParameterDescription
urlstring Direct download link
file_namestring Name of the file which being uploaded in the above public link