受理渠道结算银行账户更名申请
针对微众台账发起渠道结算银行账户更名申请。
❗
提示:本功能目前处于灰度测试阶段、暂未开放使用,待全量开放后将通过微信支付官方文档门户公告同步。
| 请求参数 | 类型 | 描述 |
|---|---|---|
| json | object | 声明请求的JSON数据结构 |
| out_request_no | string | 渠道结算银行账户更名外部系统单号 |
| mchid | string | 目标商户号 |
| bal_account_no | string | 台账ID |
| change_scene | string | 变更类型SUBJECT_INFO_RENAME 枚举值 |
| headers | object | 声明请求的头参数 |
| Wechatpay-Serial | string | 微信支付公钥ID/平台证书序列号 |
php
$instance->v3->aggracctBc->wbChannel->bankChannelAccount->rename->postAsync([
'json' => [
'out_request_no' => 'htozr8denqegbt6tk6u10iymo7yww5pn',
'mchid' => '1900016681',
'bal_account_no' => '8609cb22e1774a50a930e414cc71eca06121bc',
'change_scene' => 'SUBJECT_INFO_RENAME',
],
'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/bank-channel-account/rename')->postAsync([
'json' => [
'out_request_no' => 'htozr8denqegbt6tk6u10iymo7yww5pn',
'mchid' => '1900016681',
'bal_account_no' => '8609cb22e1774a50a930e414cc71eca06121bc',
'change_scene' => 'SUBJECT_INFO_RENAME',
],
'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/bank-channel-account/rename']->postAsync([
'json' => [
'out_request_no' => 'htozr8denqegbt6tk6u10iymo7yww5pn',
'mchid' => '1900016681',
'bal_account_no' => '8609cb22e1774a50a930e414cc71eca06121bc',
'change_scene' => 'SUBJECT_INFO_RENAME',
],
'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->bankChannelAccount->rename->post([
'json' => [
'out_request_no' => 'htozr8denqegbt6tk6u10iymo7yww5pn',
'mchid' => '1900016681',
'bal_account_no' => '8609cb22e1774a50a930e414cc71eca06121bc',
'change_scene' => 'SUBJECT_INFO_RENAME',
],
'headers' => [
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
],
]);
print_r(json_decode((string) $response->getBody(), true));php
$response = $instance->chain('v3/aggracct-bc/wb-channel/bank-channel-account/rename')->post([
'json' => [
'out_request_no' => 'htozr8denqegbt6tk6u10iymo7yww5pn',
'mchid' => '1900016681',
'bal_account_no' => '8609cb22e1774a50a930e414cc71eca06121bc',
'change_scene' => 'SUBJECT_INFO_RENAME',
],
'headers' => [
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
],
]);
print_r(json_decode((string) $response->getBody(), true));php
$response = $instance['v3/aggracct-bc/wb-channel/bank-channel-account/rename']->post([
'json' => [
'out_request_no' => 'htozr8denqegbt6tk6u10iymo7yww5pn',
'mchid' => '1900016681',
'bal_account_no' => '8609cb22e1774a50a930e414cc71eca06121bc',
'change_scene' => 'SUBJECT_INFO_RENAME',
],
'headers' => [
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
],
]);
print_r(json_decode((string) $response->getBody(), true));| 返回字典 | 类型 | 描述 |
|---|---|---|
| change_scene | string | 变更类型SUBJECT_INFO_RENAME 枚举值 |
| application_id | string | 微信支付更名受理返回的申请单号 |
| out_request_no | string | 渠道结算银行账户更名外部系统单号 |
| mchid | string | 目标商户号 |
| bal_account_no | string | 台账ID |
| new_account_name | string | 目标账户名 |
| application_state | string | 申请单状态PROCESSING | SUCCESS | FAIL 枚举值之一 |
| finish_time | string | 完成时间 |
| fail_code | string | 失败错误码 |
| fail_msg | string | 失败原因 |
参阅 官方文档