创建代付订单 当“payType=PAYMENT_GATEWAY” 时同步返回orderNo可以直接查询 其他支付方式异步通知后,通过orderNo查询二次确认状态
curl --request POST \
--url https://uat-interface.haipay.asia/php/collect/query \
--header 'Content-Type: application/json' \
--data '
{
"appId": 123,
"orderId": "<string>",
"sign": "<string>",
"orderNo": "<string>"
}
'{
"status": "1",
"error": "00000000",
"msg": "",
"data": {
"orderId": "<string>",
"orderNo": "<string>",
"amount": "<string>",
"actualAmount": "<string>",
"fee": "<string>",
"status": 0,
"payTime": "<string>",
"errorMsg": "<string>",
"sign": "<string>"
}
}curl --request POST \
--url https://uat-interface.haipay.asia/php/collect/query \
--header 'Content-Type: application/json' \
--data '
{
"appId": 123,
"orderId": "<string>",
"sign": "<string>",
"orderNo": "<string>"
}
'{
"status": "1",
"error": "00000000",
"msg": "",
"data": {
"orderId": "<string>",
"orderNo": "<string>",
"amount": "<string>",
"actualAmount": "<string>",
"fee": "<string>",
"status": 0,
"payTime": "<string>",
"errorMsg": "<string>",
"sign": "<string>"
}
}