商户单号查询转账单
商家转账用户确认模式下,根据商户单号查询转账单的详细信息
请求参数 | 类型 | 描述 |
---|---|---|
out_bill_no | string | 商户单号 |
php
$instance->v3->fundApp->mchTransfer->transferBills->outBillNo->_out_bill_no_->getAsync([
'out_bill_no' => 'plfk2020042013',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/fund-app/mch-transfer/transfer-bills/out-bill-no/{out_bill_no}')->getAsync([
'out_bill_no' => 'plfk2020042013',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/fund-app/mch-transfer/transfer-bills/out-bill-no/{out_bill_no}']->getAsync([
'out_bill_no' => 'plfk2020042013',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->fundApp->mchTransfer->transferBills->outBillNo->_out_bill_no_->get([
'out_bill_no' => 'plfk2020042013',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/fund-app/mch-transfer/transfer-bills/out-bill-no/{out_bill_no}')->get([
'out_bill_no' => 'plfk2020042013',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/fund-app/mch-transfer/transfer-bills/out-bill-no/{out_bill_no}']->get([
'out_bill_no' => 'plfk2020042013',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
mch_id | string | 商户号 |
out_bill_no | string | 商户单号 |
transfer_bill_no | string | 商家转账订单号 |
appid | string | 商户AppID |
state | string | 单据状态 |
transfer_amount | number | 转账金额 |
transfer_remark | string | 转账备注 |
fail_reason | string | 失败原因 |
openid | string | 收款用户OpenID |
user_name | string | 收款用户姓名 |
create_time | string | 单据创建时间 |
update_time | string | 最后一次状态变更时间 |
参阅 官方文档