解除对微众台账的管控
接口仅受理,解管成功或失败后,可以通知发起方(需发起方提供通知地址)。接口支持重入,重入有效期1年。限频:200/分钟
请求参数 | 类型 | 描述 |
---|---|---|
json | object | 声明请求的JSON 数据结构 |
out_request_no | string | 微众解管单号 |
related_webank_punish_no | string | 关联微众管控单号 |
related_wxpay_punish_no | string | 关联微信支付管控单号 |
mchid | string | 目标解管商户号 |
bal_account_no | string | 目标解管台账ID |
recover_reason | string | 解管原因描述 |
headers | object | 声明请求的头参数 |
Wechatpay-Serial | string | 微信支付公钥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_no | string | 微信支付解管单号 |
out_request_no | string | 微众解管单号 |
参阅 官方文档