mchSerialNo(商户提现单号)与 serialNo(请求流水号)二选一必填status 字段判断提现进度:1=待提现,2=提现中,3=已提现,5=订单关闭,7=提现失败failCode 和 failMsg 了解失败原因{
"appId": "APP20250101001",
"version": "1.0",
"timestamp": 1700000000000,
"requestId": "REQ20250101002",
"sign": "base64encodedSignature==",
"signType": "RSA2",
"charset": "UTF-8",
"bizContent": {
"mchSerialNo": "WD_20250101000001",
"serialNo": ""
}
}curl --location 'https://openapi.3ypay.com/mchShare/withdrawal/query' \
--header 'Content-Type: application/json' \
--data '{
"appId": "APP20250101001",
"version": "1.0",
"timestamp": 1700000000000,
"requestId": "REQ20250101002",
"sign": "base64encodedSignature==",
"signType": "RSA2",
"charset": "UTF-8",
"bizContent": {
"mchSerialNo": "WD_20250101000001",
"serialNo": ""
}
}'{
"code": 0,
"msg": "请求成功",
"appId": "APP20250101001",
"signType": "RSA2",
"timestamp": 1700000001000,
"sign": "base64encodedSignature==",
"data": {
"sn": "MCH20250101001",
"appChannelSn": "AC20250101001",
"accountNo": "RECV_ACCOUNT_001",
"serialNo": "SN20250101000001",
"mchSerialNo": "WD_20250101000001",
"amount": 100,
"fee": 1,
"remark": "服务费提现",
"status": 3,
"date": "2025-01-01",
"successTime": 1700000060000,
"failCode": "",
"failMsg": "",
"notifyUrl": "https://example.com/notify/withdrawal"
}
}