accOrderNo 必填。fileUrl 为 OSS 直链,可直接 GET 下载fileExpired=true 或提示未生成,请重新调用「回单申请」接口后再试{
"appId": "APP20250101001",
"version": "1.0",
"timestamp": 1700000000000,
"requestId": "REQ20250101002",
"sign": "base64encodedSignature==",
"signType": "RSA2",
"charset": "UTF-8",
"bizContent": {
"batchNo": "BL20250101000001",
"mchBatchNo": "",
"accOrderNo": "PS20250101000001_1"
}
}curl --location 'https://openapi.3ypay.com/mchShare/balance/shareReceipt/download' \
--header 'Content-Type: application/json' \
--data '{
"appId": "APP20250101001",
"version": "1.0",
"timestamp": 1700000000000,
"requestId": "REQ20250101002",
"sign": "base64encodedSignature==",
"signType": "RSA2",
"charset": "UTF-8",
"bizContent": {
"batchNo": "BL20250101000001",
"mchBatchNo": "",
"accOrderNo": "PS20250101000001_1"
}
}'{
"code": 200,
"msg": "请求成功",
"appId": "APP20250101001",
"subSn": "",
"sign": "base64encodedSignature==",
"timestamp": 1700000000000,
"signType": "RSA2",
"data": {
"fetchState": 0,
"fetchStateName": "已获取",
"receiptState": "已获取",
"fileName": "WITHDRAW_REQ20250101001.pdf",
"fileSize": 48213,
"fileUrl": "https://oss.example.com/receipt/WITHDRAW_REQ20250101001.pdf",
"fileExpireTime": 1762000000000,
"fileExpired": false
}
}