微信单号申请电子回单
商户可以 指定微信转账单号通过该接口申请 **商家转账用户确认模式转账单据** 对应的电子回单。微信支付会在校验满足回单申请条件后受理回单的申请,商户后续可以通过电子回单查询接口查询回单处理进度。
请求参数 | 类型 | 描述 |
---|---|---|
json | object | 声明请求的JSON 数据结构 |
transfer_bill_no | string | 微信转账单号 |
php
$instance->v3->fundApp->mchTransfer->elecsign->transferBillNo->postAsync([
'json' => [
'transfer_bill_no' => '1330000071100999991182020050700019480001',
],
])
->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/elecsign/transfer-bill-no')->postAsync([
'json' => [
'transfer_bill_no' => '1330000071100999991182020050700019480001',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/fund-app/mch-transfer/elecsign/transfer-bill-no']->postAsync([
'json' => [
'transfer_bill_no' => '1330000071100999991182020050700019480001',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->fundApp->mchTransfer->elecsign->transferBillNo->post([
'json' => [
'transfer_bill_no' => '1330000071100999991182020050700019480001',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/fund-app/mch-transfer/elecsign/transfer-bill-no')->post([
'json' => [
'transfer_bill_no' => '1330000071100999991182020050700019480001',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/fund-app/mch-transfer/elecsign/transfer-bill-no']->post([
'json' => [
'transfer_bill_no' => '1330000071100999991182020050700019480001',
],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
state | string | 申请单状态 |
create_time | string | 申请单创建时间 |
参阅 官方文档