Skip to content

解除免确认收款授权

根据商户单号解除免确认收款授权。注:单个商户的接口频率限制为50次/s

请求参数类型描述
out_authorization_nostring商户侧授权单号
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();
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();
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();
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));
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));
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));
返回字典类型描述
out_authorization_nostring商户侧授权单号
appidstring商户AppID
openidstring收款用户OpenID
user_display_namestring用户展示名称
authorization_idstring微信自动收款授权单号
statestring单据状态
CLOSED 枚举值
authorize_timestring用户确认授权的时间
close_infoobject自动收款授权的关闭信息
close_timestring关闭时间
close_reasonstring自动收款授权的原因
CLOSE_VIA_MCH_API 枚举值
transfer_scene_idstring转账场景ID
1000 | 1002 | 1004 | 1005 | 1009 | 1010 | 1011 | 1013 枚举值之一
user_recv_perceptionstring用户收款感知
create_timestring单据创建时间

参阅 官方文档

Published on the GitHub by TheNorthMemory