Skip to content

解除对微众台账的管控

接口仅受理,解管成功或失败后,可以通知发起方(需发起方提供通知地址)。接口支持重入,重入有效期1年。限频:200/分钟

请求参数类型描述
jsonobject声明请求的JSON数据结构
out_request_nostring微众解管单号
related_webank_punish_nostring关联微众管控单号
related_wxpay_punish_nostring关联微信支付管控单号
mchidstring目标解管商户号
bal_account_nostring目标解管台账ID
recover_reasonstring解管原因描述
headersobject声明请求的头参数
Wechatpay-Serialstring微信支付公钥ID/平台证书序列号
php
$instance->v3->aggracctBc->wbChannel->controlOrders->recover->postAsync([
  'json' => [
    'out_request_no'           => 'example_out_request_no',
    'related_webank_punish_no' => 'example_related_webank_punish_no',
    'related_wxpay_punish_no'  => 'example_related_wxpay_punish_no',
    'mchid'                    => 'example_mchid',
    'bal_account_no'           => 'example_bal_account_no',
    'recover_reason'           => 'example_recover_reason',
  ],
  'headers' => [
    'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/aggracct-bc/wb-channel/control-orders/recover')->postAsync([
  'json' => [
    'out_request_no'           => 'example_out_request_no',
    'related_webank_punish_no' => 'example_related_webank_punish_no',
    'related_wxpay_punish_no'  => 'example_related_wxpay_punish_no',
    'mchid'                    => 'example_mchid',
    'bal_account_no'           => 'example_bal_account_no',
    'recover_reason'           => 'example_recover_reason',
  ],
  'headers' => [
    'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/aggracct-bc/wb-channel/control-orders/recover']->postAsync([
  'json' => [
    'out_request_no'           => 'example_out_request_no',
    'related_webank_punish_no' => 'example_related_webank_punish_no',
    'related_wxpay_punish_no'  => 'example_related_wxpay_punish_no',
    'mchid'                    => 'example_mchid',
    'bal_account_no'           => 'example_bal_account_no',
    'recover_reason'           => 'example_recover_reason',
  ],
  'headers' => [
    'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->aggracctBc->wbChannel->controlOrders->recover->post([
  'json' => [
    'out_request_no'           => 'example_out_request_no',
    'related_webank_punish_no' => 'example_related_webank_punish_no',
    'related_wxpay_punish_no'  => 'example_related_wxpay_punish_no',
    'mchid'                    => 'example_mchid',
    'bal_account_no'           => 'example_bal_account_no',
    'recover_reason'           => 'example_recover_reason',
  ],
  'headers' => [
    'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/aggracct-bc/wb-channel/control-orders/recover')->post([
  'json' => [
    'out_request_no'           => 'example_out_request_no',
    'related_webank_punish_no' => 'example_related_webank_punish_no',
    'related_wxpay_punish_no'  => 'example_related_wxpay_punish_no',
    'mchid'                    => 'example_mchid',
    'bal_account_no'           => 'example_bal_account_no',
    'recover_reason'           => 'example_recover_reason',
  ],
  'headers' => [
    'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/aggracct-bc/wb-channel/control-orders/recover']->post([
  'json' => [
    'out_request_no'           => 'example_out_request_no',
    'related_webank_punish_no' => 'example_related_webank_punish_no',
    'related_wxpay_punish_no'  => 'example_related_wxpay_punish_no',
    'mchid'                    => 'example_mchid',
    'bal_account_no'           => 'example_bal_account_no',
    'recover_reason'           => 'example_recover_reason',
  ],
  'headers' => [
    'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
wxpay_recover_nostring微信支付解管单号
out_request_nostring微众解管单号

参阅 官方文档

Published on the GitHub by TheNorthMemory