Query the result of a refund order
curl --request POST \
--url https://uat-interface.haipay.asia/usd/refund/refundQuery \
--header 'Content-Type: application/json' \
--data '
{
"appId": 123,
"sign": "<string>",
"orderId": "<string>",
"refundNo": "<string>"
}
'{
"status": "<string>",
"error": "<string>",
"msg": "<string>",
"data": {
"appId": "<string>",
"orderNo": "<string>",
"orderId": "<string>",
"refundNo": "<string>",
"status": "<string>",
"errorMsg": "<string>",
"sign": "<string>"
}
}Business ID (obtained from backend, must pass corresponding business ID based on currency in URL)
Signature
Merchant refund application order number
Platform refund number (platform order number returned when refund was applied, if provided, prioritize checking this field)
curl --request POST \
--url https://uat-interface.haipay.asia/usd/refund/refundQuery \
--header 'Content-Type: application/json' \
--data '
{
"appId": 123,
"sign": "<string>",
"orderId": "<string>",
"refundNo": "<string>"
}
'{
"status": "<string>",
"error": "<string>",
"msg": "<string>",
"data": {
"appId": "<string>",
"orderNo": "<string>",
"orderId": "<string>",
"refundNo": "<string>",
"status": "<string>",
"errorMsg": "<string>",
"sign": "<string>"
}
}