查询企业付款银行卡
用于对商户企业付款到银行卡操作进行结果查询,返回付款操作详细结果。
请求参数 | 类型 | 描述 |
---|---|---|
security | true | 声明加载商户API证书 |
xml | object | 声明请求的XML 数据结构 |
mch_id | string | 商户号 |
partner_trade_no | string | 商户企业付款单号 |
php
$instance->v2->mmpaymkttransfers->query_bank->postAsync([
'security' => true,
'xml' => [
'mch_id' => '1900000109',
'partner_trade_no' => '1212121221227',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
})
->wait();
php
$instance->chain('v2/mmpaymkttransfers/query_bank')->postAsync([
'security' => true,
'xml' => [
'mch_id' => '1900000109',
'partner_trade_no' => '1212121221227',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
})
->wait();
php
$instance['v2/mmpaymkttransfers/query_bank']->postAsync([
'security' => true,
'xml' => [
'mch_id' => '1900000109',
'partner_trade_no' => '1212121221227',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
})
->wait();
php
$response = $instance->v2->mmpaymkttransfers->query_bank->post([
'security' => true,
'xml' => [
'mch_id' => '1900000109',
'partner_trade_no' => '1212121221227',
],
]);
print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
php
$response = $instance->chain('v2/mmpaymkttransfers/query_bank')->post([
'security' => true,
'xml' => [
'mch_id' => '1900000109',
'partner_trade_no' => '1212121221227',
],
]);
print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
php
$response = $instance['v2/mmpaymkttransfers/query_bank']->post([
'security' => true,
'xml' => [
'mch_id' => '1900000109',
'partner_trade_no' => '1212121221227',
],
]);
print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
返回字典 | 类型 | 描述 |
---|---|---|
return_code | string | 返回状态码SUCCESS | FAIL 枚举值之一 |
return_msg | string | 返回信息 |
result_code | string | 业务结果SUCCESS | FAIL 枚举值之一 |
err_code | string | 错误代码 |
err_code_des | string | 错误代码描述 |
mch_id | string | 商户号 |
partner_trade_no | string | 商户企业付款单号 |
payment_no | string | 微信企业付款单号 |
bank_no_md5 | string | 银行卡号 |
true_name_md5 | string | 用户真实姓名 |
amount | integer | 代付金额 |
status | string | 代付单状态SUCCESS | FAILED | PROCESSING | BANK_FAIL 枚举值之一 |
cmms_amt | integer | 手续费金额 |
create_time | string | 商户下单时间 |
pay_succ_time | string | 成功付款时间 |
reason | string | 失败原因 |
参阅 官方文档