Skip to main content
Only transactions with the return code 0000 (transaction successful) can be refunded.
For credit card payments, QFPay performs automatic capture. If a refund is submitted on the same day, it will be treated as a void and handled by this same refund API.

API Endpoint

Endpoint : /trade/v1/refund
Method : POST

Request Headers


Request Parameters


Response Parameters


Sample HTTP Body


SDK Code Examples


Sample JSON Response


Notes

  • Ensure refund amount does not exceed the original transaction value.
  • Some wallets may not support partial refunds.
  • Refund time limits vary by channel. Contact QFPay support for details.
  • For failed refunds (respcd not 0000), retry logic or query via Transaction Enquiry is advised.