batchNo(分账批次号)与 mchBatchNo(商户分账订单号)二选一必填acctInfos 中每条明细的 status 字段判断分账进度:1=待分账,2=分账中,3=已分账,5=订单关闭,7=分账失败failMsg 了解失败原因{
"appId": "APP20250101001",
"version": "1.0",
"timestamp": 1700000000000,
"requestId": "REQ20250101002",
"sign": "base64encodedSignature==",
"signType": "RSA2",
"charset": "UTF-8",
"bizContent": {
"batchNo": "1000000000001",
"mchBatchNo": ""
}
}curl --location 'https://openapi.3ypay.com/mchShare/balance/shareQuery' \
--header 'Content-Type: application/json' \
--data '{
"appId": "APP20250101001",
"version": "1.0",
"timestamp": 1700000000000,
"requestId": "REQ20250101002",
"sign": "base64encodedSignature==",
"signType": "RSA2",
"charset": "UTF-8",
"bizContent": {
"batchNo": "1000000000001",
"mchBatchNo": ""
}
}'{
"code": 200,
"msg": "请求成功",
"appId": "APP20250101001",
"signType": "RSA2",
"timestamp": 1700000001000,
"data": {
"mchBatchNo": "BAL_BATCH_20250101000001",
"batchNo": "1000000000001",
"accountNo": "PAY_ACCOUNT_001",
"appChannelSn": "AC20250101001",
"acctInfos": [
{
"accOrderNo": "ACC_ORDER_001",
"accountNo": "RECV_ACCOUNT_001",
"amount": 100,
"description": "余额分账-服务费",
"feeRate": 0,
"isRtc": 0,
"status": 3,
"failMsg": "",
"successTime": 1700000060000
}
]
}
}