Appearance
查询提现
公共参数
参数 | 类型 | 是否必填 | 最大长度 | 描述 | 示例值 |
---|---|---|---|---|---|
mch_no | String | 是 | 32 | 商户号 | 2014072300007148 |
method | String | 是 | 128 | 接口名称,固定传 trade.query.withdraw | trade.query.withdraw |
charset | String | 是 | 10 | 调用的接口版本,固定为:utf-8 | utf-8 |
sign_type | String | 是 | 10 | 商户生成签名字符串所使用的签名算法类型,目前支持 RSA | RSA 或 rsa |
sign | String | 是 | 344 | 商户请求参数的签名串 | 详见示例 |
timestamp | String | 是 | 19 | 发送请求的时间,格式"yyyy-MM-dd HH:mm:ss" | 2014-07-24 03:07:50 |
version | String | 是 | 3 | 调用的接口版本,固定为:1.0 | 1.0 |
notify_url | String | 否 | 200 | 不用传,异步通知地址,200 个字符之内 | http://localhost/notify.html |
biz_content | String | 是 | 业务参数 |
业务参数
参数 | 类型 | 是否必填 | 最大长度 | 描述 | 示例值 |
---|---|---|---|---|---|
withdraw_trade_no | String | 是 | 64 | 鸿闻的提现单号 | 20150320010101001 |
withdraw_out_trade_no | String | 是 | 64 | 商户提现单号 | 20150320010101001 |
返回信息
json
返回结果示例:
{
"code": 20000,
"msg": "success",
"withdraw_out_trade_no": "111111",
"withdraw_trade_no": 626015783370903553,
"merchant_no": "21796110752682",
"withdraw_status": "WITHDRAW_SUCCESS",
"withdraw_type": "REAL_TIME",
"withdraw_create_time": 1710213793,
"withdraw_amount": "1.00",
"receive_amount": "1.00",
"debit_amount": "1.50",
"finish_time": "2024-03-12 11:23:15",
"sign": "cJBwabpleVdXUgJuEb9kvGTQSWg6ByL6dC3IFamxaB/TrfCxyT4q8s+RJHgL6Cdzp4f81678d+PKJiG/+nIKJ0Zl1+I7PGIcDWfIukVFz/uAb2JCMqoU0ggmWfNErs4Zi67wYciKoP1rnr5A7lhAOqhPGQRJlX7Mytyykoaf/vf4ePYpIymridP/49k3THFuFm1ECLEw/olLXSrsyPewoE7cEl8DbqUYxlPjpJYL+0PBkU0aSXHdpiwVnfQ8GOjCgA2v6UmVB1Jt7CwjMRSULN0pWJSJKrUNFFr7YnjcQQbTR6srsj3Srouv1K/WjfNIEnSqjSBlwuCfJkc9FG69lQ=="
}
返回字段说明
参数 | 类型 | 描述 |
---|---|---|
code | Int | 20000 |
msg | String | success |
status | String | WITHDRAW_REMITING (处理中), WITHDRAW_FAILED (提现失败),WITHDRAW_ACCEPT(已受理), WITHDRAW_PENDING(等待中),WITHDRAW_SUCCESS(提现成功,已到卡); 除了已经失败或者成功的状态外,其他状态建议再次发起查询 |
withdraw_out_trade_no | String | 商户的提现单号 |
withdraw_trade_no | String | 鸿闻的提现单号 |
withdraw_amount | String | 申请的提现金额 |
receive_amount | String | 银行卡到账金额 |
debit_amount | String | 扣费金额(手续费等) |
finish_time | String | 成功或者失败的时间,如 2023-12-12 09:09:09 |
sign | String | 签名字符串 |