Skip to content

提交已注销商户号可用余额提现申请单

针对被微信支付平台不收不付管控的电商子商户,如子商户账户内还有可用余额,且无法解脱(例如.营业执照注销吊销),则服务商可为子商户申请走注销提现的流程,将可用余额进行提现操作。在商户号注销后,电商平台可发起提现申请, 审批通过后, 将会按照指定的收款方式返回给商户。

请求参数类型描述
jsonobject声明请求的JSON数据结构
sub_mchidstring二级商户号
out_account_typestring二级商户号的出款子账户类型
amountinteger提现金额
out_request_nostring商户提现申请单号
payee_typestring收款对象类型
payee_mchidstring收款对象对应的商户号
payee_infoobject收款账号信息
account_typestring账户类型
bank_account_infoobject银行账户
account_namestring开户名称
account_bankstring开户银行
bank_branch_idstring开户银行联行号
bank_namestring开户银行全称(含支行)
account_numberstring银行账号
identity_infoobject收款人账号对应的证件信息
id_doc_typestring证件类型
identification_namestring证件姓名
identification_nostring证件号码
proof_media_listobject付款申请证明材料
proof_payee_mediaobject[]申请证明材料
proof_media_typestring申请证明材料类型
proof_mediastring证明材料照片
additional_materialsobject补充材料
additional_mediastring[]补充材料照片列表,最多10张
remarkstring备注
headersobject声明请求的头参数
Wechatpay-Serialstring平台公钥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_idstring微信支付提现申请单号
out_request_nostring商户提现申请单号

参阅 官方文档 官方文档

Published on the GitHub by TheNorthMemory