Query collection order. When payType=PAYMENT_GATEWAY, the orderNo returned synchronously can be queried directly. For other payment methods, query the status via orderNo after receiving async notification for confirmation.
curl --request POST \
--url https://uat-interface.haipay.asia/vnd/collect/query \
--header 'Content-Type: application/json' \
--data '
{
"appId": 123,
"orderId": "<string>",
"sign": "<string>",
"orderNo": "<string>"
}
'{
"status": "",
"error": "",
"msg": "",
"data": {}
}curl --request POST \
--url https://uat-interface.haipay.asia/vnd/collect/query \
--header 'Content-Type: application/json' \
--data '
{
"appId": 123,
"orderId": "<string>",
"sign": "<string>",
"orderNo": "<string>"
}
'{
"status": "",
"error": "",
"msg": "",
"data": {}
}