HiTechPAY API Docs
API ExplorerMini AppSDK
API ExplorerMini AppSDK
  1. Refund
  • Order
    • Create a new order
      POST
    • Query status of an order
      POST
  • Refund
    • Refund for a transaction
      POST
    • Query for refund status
      POST
  • Tokenization
    • Create new binding for the tokenization
      POST
    • Query for the payment tokenization of a binding
      POST
    • Create new binding for the agreement
      POST
    • Unbind an agreement
      POST
    • Query for the payment token of a binding
      POST
    • Query the balance of a specific user before paying
      POST
    • Request for agreement pay
      POST
    • Query the basic user info
      POST
    • Hybrid payment
      POST
  • Disbursement
    • Query user account info
      POST
    • Topup for a user
      POST
    • Query merchant's account balance
      POST
  • Payment Gateway
    • List supported banks
      POST
  • ZOD
  1. Refund

Refund for a transaction

Sandbox
https://sb-openapi.hitechpay.vn/v2
Sandbox
https://sb-openapi.hitechpay.vn/v2
POST
https://sb-openapi.hitechpay.vn/v2
/refund
Last modified:2025-12-04 01:15:44
The refund API is asynchronous processing. After merchant call refund API, merchant need call query refund API for check refund status of refund transaction.

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://sb-openapi.hitechpay.vn/v2/refund' \
--header 'Content-Type: application/json' \
--data-raw '{
  "app_id": 0,
  "m_refund_id": "string",
  "zp_trans_id": "string",
  "amount": 0,
  "refund_fee_amount": 0,
  "timestamp": 0,
  "description": "string",
  "mac": "string"
}'
Response Response Example
{
  "return_code": 0,
  "return_message": "string",
  "sub_return_code": 0,
  "sub_return_message": "string",
  "refund_id": 0
}
Modified at 2025-12-04 01:15:44
Previous
Query status of an order
Next
Query for refund status
Built with