appId,完成 RSA2 密钥配置;分账接收方须已完成分账关系绑定并完成入网报备。mchSerialNo 为商户自定义提现单号,需全局唯一,长度不超过 64 字符accountNo 为分账接收方的渠道账号,资金从该账号提现amount 为提现金额,单位为元,不能小于 0status 确认最终状态,或等待提现结果异步通知{
"appId": "APP20250101001",
"version": "1.0",
"timestamp": 1700000000000,
"requestId": "REQ20250101001",
"sign": "base64encodedSignature==",
"signType": "RSA2",
"charset": "UTF-8",
"bizContent": {
"mchSerialNo": "WD_20250101000001",
"accountNo": "RECV_ACCOUNT_001",
"amount": 100,
"remark": "服务费提现",
"notifyUrl": "https://example.com/notify/withdrawal"
}
}curl --location 'https://openapi.3ypay.com/mchShare/withdrawal/commit' \
--header 'Content-Type: application/json' \
--data '{
"appId": "APP20250101001",
"version": "1.0",
"timestamp": 1700000000000,
"requestId": "REQ20250101001",
"sign": "base64encodedSignature==",
"signType": "RSA2",
"charset": "UTF-8",
"bizContent": {
"mchSerialNo": "WD_20250101000001",
"accountNo": "RECV_ACCOUNT_001",
"amount": 100,
"remark": "服务费提现",
"notifyUrl": "https://example.com/notify/withdrawal"
}
}'{
"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": 0,
"remark": "服务费提现",
"status": 1,
"date": "2025-01-01",
"successTime": null,
"failCode": "",
"failMsg": "",
"notifyUrl": "https://example.com/notify/withdrawal"
}
}