Skip to content

解除免确认收款授权

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

请求参数类型描述
out_authorization_nostring商户侧授权单号
php
$instance->v3->fundApp->mchTransfer->userConfirmAuthorization->outAuthorizationNo->_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/user-confirm-authorization/out-authorization-no/{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/user-confirm-authorization/out-authorization-no/{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->userConfirmAuthorization->outAuthorizationNo->_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/user-confirm-authorization/out-authorization-no/{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/user-confirm-authorization/out-authorization-no/{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 枚举值

Published on the GitHub by TheNorthMemory