解除免确认收款授权
根据商户单号解除免确认收款授权。注:单个商户的接口频率限制为50次/s
| 请求参数 | 类型 | 描述 |
|---|---|---|
| out_authorization_no | string | 商户侧授权单号 |
php
$instance->v3->fundApp->mchTransfer->partner->userConfirmAuthorizations->_out_authorization_no_->close->postAsync([
'out_authorization_no' => 'plfk2020042013',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();1
2
3
4
5
6
7
2
3
4
5
6
7
php
$instance->chain('v3/fund-app/mch-transfer/partner/user-confirm-authorizations/{out_authorization_no}/close')->postAsync([
'out_authorization_no' => 'plfk2020042013',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();1
2
3
4
5
6
7
2
3
4
5
6
7
php
$instance['v3/fund-app/mch-transfer/partner/user-confirm-authorizations/{out_authorization_no}/close']->postAsync([
'out_authorization_no' => 'plfk2020042013',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();1
2
3
4
5
6
7
2
3
4
5
6
7
php
$response = $instance->v3->fundApp->mchTransfer->partner->userConfirmAuthorizations->_out_authorization_no_->close->post([
'out_authorization_no' => 'plfk2020042013',
]);
print_r(json_decode((string) $response->getBody(), true));1
2
3
4
2
3
4
php
$response = $instance->chain('v3/fund-app/mch-transfer/partner/user-confirm-authorizations/{out_authorization_no}/close')->post([
'out_authorization_no' => 'plfk2020042013',
]);
print_r(json_decode((string) $response->getBody(), true));1
2
3
4
2
3
4
php
$response = $instance['v3/fund-app/mch-transfer/partner/user-confirm-authorizations/{out_authorization_no}/close']->post([
'out_authorization_no' => 'plfk2020042013',
]);
print_r(json_decode((string) $response->getBody(), true));1
2
3
4
2
3
4
| 返回字典 | 类型 | 描述 |
|---|---|---|
| out_authorization_no | string | 商户侧授权单号 |
| appid | string | 商户AppID |
| openid | string | 收款用户OpenID |
| user_display_name | string | 用户展示名称 |
| authorization_id | string | 微信自动收款授权单号 |
| state | string | 单据状态CLOSED 枚举值 |
| authorize_time | string | 用户确认授权的时间 |
| close_info | object | 自动收款授权的关闭信息 |
| close_time | string | 关闭时间 |
| close_reason | string | 自动收款授权的原因CLOSE_VIA_MCH_API 枚举值 |
| transfer_scene_id | string | 转账场景ID1000 | 1002 | 1004 | 1005 | 1009 | 1010 | 1011 | 1013 枚举值之一 |
| user_recv_perception | string | 用户收款感知 |
| create_time | string | 单据创建时间 |
参阅 官方文档