关闭预约商家转账记录
商户可通过接口关闭已经受理或者已经确认的预约商家转账记录。
请求参数 | 类型 | 描述 |
---|---|---|
out_reservation_no | string | 商户预约单号 |
query | object | 声明请求的查询参数 |
sub_mchid | string | 二级商户号 |
php
$instance->v3->platsolution->mchTransfer->reservation->outReservationNo->_out_reservation_no_->close->postAsync([
'out_reservation_no' => 'plfk2020042013',
'query' => [
'sub_mchid' => '1900001109',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/platsolution/mch-transfer/reservation/out-reservation-no/{out_reservation_no}/close')->postAsync([
'out_reservation_no' => 'plfk2020042013',
'query' => [
'sub_mchid' => '1900001109',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/platsolution/mch-transfer/reservation/out-reservation-no/{out_reservation_no}/close']->postAsync([
'out_reservation_no' => 'plfk2020042013',
'query' => [
'sub_mchid' => '1900001109',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->platsolution->mchTransfer->reservation->outReservationNo->_out_reservation_no_->close->post([
'out_reservation_no' => 'plfk2020042013',
'query' => [
'sub_mchid' => '1900001109',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/platsolution/mch-transfer/reservation/out-reservation-no/{out_reservation_no}/close')->post([
'out_reservation_no' => 'plfk2020042013',
'query' => [
'sub_mchid' => '1900001109',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/platsolution/mch-transfer/reservation/out-reservation-no/{out_reservation_no}/close']->post([
'out_reservation_no' => 'plfk2020042013',
'query' => [
'sub_mchid' => '1900001109',
],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
sp_mchid | string | 服务商商户号 |
sub_mchid | string | 二级商户号 |
sp_appid | string | 服务商AppID |
sub_appid | string | 二级商户AppID |
reservation_id | string | 微信转账预约单号 |
out_reservation_no | string | 商户预约单号 |
transfer_scene_id | string | 转账场景ID |
estimated_date | string | 预计最晚转账日期 |
estimated_max_amount | number | 预计最大转账金额 |
exact_amount | number | 准确转账金额 |
openid | string | 收款用户OpenID |
bank_type | string | 收款银行类型 |
state | string | 预约记录状态 |
accept_time | string | 预约记录受理的时间 |
reserve_time | string | 预约记录用户确认预约的时间 |
close_info | object | 预约记录的关闭信息 |
close_time | string | 预约记录关闭的时间 |
close_reason | string | 预约记录关闭的原因 |
参阅 官方文档