提交已注销商户号可用余额提现申请单
针对被微信支付平台不收不付管控的电商子商户,如子商户账户内还有可用余额,且无法解脱(例如.营业执照注销吊销),则服务商可为子商户申请走注销提现的流程,将可用余额进行提现操作。在商户号注销后,电商平台可发起提现申请, 审批通过后, 将会按照指定的收款方式返回给商户。
请求参数 | 类型 | 描述 |
---|---|---|
json | object | 声明请求的JSON 数据结构 |
sub_mchid | string | 二级商户号 |
out_account_type | string | 二级商户号的出款子账户类型 |
amount | integer | 提现金额 |
out_request_no | string | 商户提现申请单号 |
payee_type | string | 收款对象类型 |
payee_mchid | string | 收款对象对应的商户号 |
payee_info | object | 收款账号信息 |
account_type | string | 账户类型 |
bank_account_info | object | 银行账户 |
account_name | string | 开户名称 |
account_bank | string | 开户银行 |
bank_branch_id | string | 开户银行联行号 |
bank_name | string | 开户银行全称(含支行) |
account_number | string | 银行账号 |
identity_info | object | 收款人账号对应的证件信息 |
id_doc_type | string | 证件类型 |
identification_name | string | 证件姓名 |
identification_no | string | 证件号码 |
proof_media_list | object | 付款申请证明材料 |
proof_payee_media | object[] | 申请证明材料 |
proof_media_type | string | 申请证明材料类型 |
proof_media | string | 证明材料照片 |
additional_materials | object | 补充材料 |
additional_media | string[] | 补充材料照片列表,最多10张 |
remark | string | 备注 |
headers | object | 声明请求的头参数 |
Wechatpay-Serial | string | 平台公钥ID/平台公钥证书序列号 |
php
$instance->v3->mch_operate->risk->withdrawlApply->postAsync([
'json' => [
'sub_mchid' => '1900000109',
'out_account_type' => 'BASIC_ACCOUNT',
'amount' => 101,
'out_request_no' => '2019061122222222122',
'payee_type' => 'OTHER_MERCHANT',
'payee_mchid' => '1900000109',
'payee_info' => [
'account_type' => 'ACCOUNT_TYPE_CORPORATE',
'bank_account_info' => [
'account_name' => 'AOZdYGISxo4y44/UgZ69b0zZXkw==',
'account_bank' => '工商银行',
'bank_branch_id' => '402713354941',
'bank_name' => '402713354941',
'account_number' => 'd+xT+MQCvrLHeorwC+w==',
],
'identity_info' => [
'id_doc_type' => 'IDENTIFICATION_TYPE_IDCARD',
'identification_name' => 'pVd1HJ6zyvPedzfg==',
'identification_no' => 'AOZdYGISxo4y44/UgZ69bkw==',
],
],
'proof_media_list' => [
'proof_payee_media' => [[
'proof_media_type' => 'WECHAT_PAY_WITHDRAWAL_APPLICATION_TYPE_1',
'proof_media' => 'jTpGmxUX3FBWVQ5NJTZvlKXQ',
],],
],
'additional_materials' => [
'additional_media' => ['MediaId'],
],
'remark' => '特殊理由',
],
'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/mch_operate/risk/withdrawl-apply')->postAsync([
'json' => [
'sub_mchid' => '1900000109',
'out_account_type' => 'BASIC_ACCOUNT',
'amount' => 101,
'out_request_no' => '2019061122222222122',
'payee_type' => 'OTHER_MERCHANT',
'payee_mchid' => '1900000109',
'payee_info' => [
'account_type' => 'ACCOUNT_TYPE_CORPORATE',
'bank_account_info' => [
'account_name' => 'AOZdYGISxo4y44/UgZ69b0zZXkw==',
'account_bank' => '工商银行',
'bank_branch_id' => '402713354941',
'bank_name' => '402713354941',
'account_number' => 'd+xT+MQCvrLHeorwC+w==',
],
'identity_info' => [
'id_doc_type' => 'IDENTIFICATION_TYPE_IDCARD',
'identification_name' => 'pVd1HJ6zyvPedzfg==',
'identification_no' => 'AOZdYGISxo4y44/UgZ69bkw==',
],
],
'proof_media_list' => [
'proof_payee_media' => [[
'proof_media_type' => 'WECHAT_PAY_WITHDRAWAL_APPLICATION_TYPE_1',
'proof_media' => 'jTpGmxUX3FBWVQ5NJTZvlKXQ',
],],
],
'additional_materials' => [
'additional_media' => ['MediaId'],
],
'remark' => '特殊理由',
],
'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/mch_operate/risk/withdrawl-apply']->postAsync([
'json' => [
'sub_mchid' => '1900000109',
'out_account_type' => 'BASIC_ACCOUNT',
'amount' => 101,
'out_request_no' => '2019061122222222122',
'payee_type' => 'OTHER_MERCHANT',
'payee_mchid' => '1900000109',
'payee_info' => [
'account_type' => 'ACCOUNT_TYPE_CORPORATE',
'bank_account_info' => [
'account_name' => 'AOZdYGISxo4y44/UgZ69b0zZXkw==',
'account_bank' => '工商银行',
'bank_branch_id' => '402713354941',
'bank_name' => '402713354941',
'account_number' => 'd+xT+MQCvrLHeorwC+w==',
],
'identity_info' => [
'id_doc_type' => 'IDENTIFICATION_TYPE_IDCARD',
'identification_name' => 'pVd1HJ6zyvPedzfg==',
'identification_no' => 'AOZdYGISxo4y44/UgZ69bkw==',
],
],
'proof_media_list' => [
'proof_payee_media' => [[
'proof_media_type' => 'WECHAT_PAY_WITHDRAWAL_APPLICATION_TYPE_1',
'proof_media' => 'jTpGmxUX3FBWVQ5NJTZvlKXQ',
],],
],
'additional_materials' => [
'additional_media' => ['MediaId'],
],
'remark' => '特殊理由',
],
'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->mch_operate->risk->withdrawlApply->post([
'json' => [
'sub_mchid' => '1900000109',
'out_account_type' => 'BASIC_ACCOUNT',
'amount' => 101,
'out_request_no' => '2019061122222222122',
'payee_type' => 'OTHER_MERCHANT',
'payee_mchid' => '1900000109',
'payee_info' => [
'account_type' => 'ACCOUNT_TYPE_CORPORATE',
'bank_account_info' => [
'account_name' => 'AOZdYGISxo4y44/UgZ69b0zZXkw==',
'account_bank' => '工商银行',
'bank_branch_id' => '402713354941',
'bank_name' => '402713354941',
'account_number' => 'd+xT+MQCvrLHeorwC+w==',
],
'identity_info' => [
'id_doc_type' => 'IDENTIFICATION_TYPE_IDCARD',
'identification_name' => 'pVd1HJ6zyvPedzfg==',
'identification_no' => 'AOZdYGISxo4y44/UgZ69bkw==',
],
],
'proof_media_list' => [
'proof_payee_media' => [[
'proof_media_type' => 'WECHAT_PAY_WITHDRAWAL_APPLICATION_TYPE_1',
'proof_media' => 'jTpGmxUX3FBWVQ5NJTZvlKXQ',
],],
],
'additional_materials' => [
'additional_media' => ['MediaId'],
],
'remark' => '特殊理由',
],
'headers' => [
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/mch_operate/risk/withdrawl-apply')->post([
'json' => [
'sub_mchid' => '1900000109',
'out_account_type' => 'BASIC_ACCOUNT',
'amount' => 101,
'out_request_no' => '2019061122222222122',
'payee_type' => 'OTHER_MERCHANT',
'payee_mchid' => '1900000109',
'payee_info' => [
'account_type' => 'ACCOUNT_TYPE_CORPORATE',
'bank_account_info' => [
'account_name' => 'AOZdYGISxo4y44/UgZ69b0zZXkw==',
'account_bank' => '工商银行',
'bank_branch_id' => '402713354941',
'bank_name' => '402713354941',
'account_number' => 'd+xT+MQCvrLHeorwC+w==',
],
'identity_info' => [
'id_doc_type' => 'IDENTIFICATION_TYPE_IDCARD',
'identification_name' => 'pVd1HJ6zyvPedzfg==',
'identification_no' => 'AOZdYGISxo4y44/UgZ69bkw==',
],
],
'proof_media_list' => [
'proof_payee_media' => [[
'proof_media_type' => 'WECHAT_PAY_WITHDRAWAL_APPLICATION_TYPE_1',
'proof_media' => 'jTpGmxUX3FBWVQ5NJTZvlKXQ',
],],
],
'additional_materials' => [
'additional_media' => ['MediaId'],
],
'remark' => '特殊理由',
],
'headers' => [
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/mch_operate/risk/withdrawl-apply']->post([
'json' => [
'sub_mchid' => '1900000109',
'out_account_type' => 'BASIC_ACCOUNT',
'amount' => 101,
'out_request_no' => '2019061122222222122',
'payee_type' => 'OTHER_MERCHANT',
'payee_mchid' => '1900000109',
'payee_info' => [
'account_type' => 'ACCOUNT_TYPE_CORPORATE',
'bank_account_info' => [
'account_name' => 'AOZdYGISxo4y44/UgZ69b0zZXkw==',
'account_bank' => '工商银行',
'bank_branch_id' => '402713354941',
'bank_name' => '402713354941',
'account_number' => 'd+xT+MQCvrLHeorwC+w==',
],
'identity_info' => [
'id_doc_type' => 'IDENTIFICATION_TYPE_IDCARD',
'identification_name' => 'pVd1HJ6zyvPedzfg==',
'identification_no' => 'AOZdYGISxo4y44/UgZ69bkw==',
],
],
'proof_media_list' => [
'proof_payee_media' => [[
'proof_media_type' => 'WECHAT_PAY_WITHDRAWAL_APPLICATION_TYPE_1',
'proof_media' => 'jTpGmxUX3FBWVQ5NJTZvlKXQ',
],],
],
'additional_materials' => [
'additional_media' => ['MediaId'],
],
'remark' => '特殊理由',
],
'headers' => [
'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000',
],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
applyment_id | string | 微信支付提现申请单号 |
out_request_no | string | 商户提现申请单号 |