Skip to content

查询升级申请单状态

使用“提交升级申请单”接口后,可不定期调用此接口查询申请单状态(建议提交申请后1分钟查询),直至申请单为“完成”状态。1)若申请状态为待账户验证,请按接口中的指引完成账户验证;2)若申请状态为审核中,微信支付会在2个工作日内完成资料审核;3)若申请状态为待签约,接口会返回签约二维码。

🚫

本接口服务已于 2023.05.23 (北京时间)下线,文档仅做留存参考。

请求参数类型描述
securitytrue声明加载商户API证书
xmlobject声明请求的XML数据结构
versionstring接口版本号
mch_idstring商户号
sign_typestring签名类型
HMAC-SHA256 枚举值
sub_mch_idstring小微商户号
php
$instance->v2->applyment->micro->getupgradestate->postAsync([
  'security' => true,
  'xml' => [
    'version'    => '1.0',
    'mch_id'     => '1230000109',
    'sign_type'  => 'HMAC-SHA256',
    'sub_mch_id' => '1230000109',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
})
->wait();
php
$instance->chain('v2/applyment/micro/getupgradestate')->postAsync([
  'security' => true,
  'xml' => [
    'version'    => '1.0',
    'mch_id'     => '1230000109',
    'sign_type'  => 'HMAC-SHA256',
    'sub_mch_id' => '1230000109',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
})
->wait();
php
$instance['v2/applyment/micro/getupgradestate']->postAsync([
  'security' => true,
  'xml' => [
    'version'    => '1.0',
    'mch_id'     => '1230000109',
    'sign_type'  => 'HMAC-SHA256',
    'sub_mch_id' => '1230000109',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
})
->wait();
php
$response = $instance->v2->applyment->micro->getupgradestate->post([
  'security' => true,
  'xml' => [
    'version'    => '1.0',
    'mch_id'     => '1230000109',
    'sign_type'  => 'HMAC-SHA256',
    'sub_mch_id' => '1230000109',
  ],
]);
print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
php
$response = $instance->chain('v2/applyment/micro/getupgradestate')->post([
  'security' => true,
  'xml' => [
    'version'    => '1.0',
    'mch_id'     => '1230000109',
    'sign_type'  => 'HMAC-SHA256',
    'sub_mch_id' => '1230000109',
  ],
]);
print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
php
$response = $instance['v2/applyment/micro/getupgradestate']->post([
  'security' => true,
  'xml' => [
    'version'    => '1.0',
    'mch_id'     => '1230000109',
    'sign_type'  => 'HMAC-SHA256',
    'sub_mch_id' => '1230000109',
  ],
]);
print_r(\WeChatPay\Transformer::toArray((string) $response->getBody()));
返回字典类型描述
return_codestring返回状态码
SUCCESS | FAIL 枚举值之一
return_msgstring返回信息
nonce_strstring随机字符串
signstring签名
result_codestring业务结果
SUCCESS | FAIL 枚举值之一
err_codestring错误代码
err_code_desstring错误代码描述
sub_mch_idstring小微商户号
applyment_statestring申请状态
applyment_state_descstring申请状态描述
sign_qrcodestring签约二维码
sign_urlstring签约链接
audit_detailstring审核详情
account_namestring付款户名
pay_amountstring汇款金额
destination_account_numberstring收款卡号
destination_account_namestring收款户名
destination_account_bankstring开户银行
citystring省市信息
remarkstring备注信息
deadline_timestring汇款截止时间
param_namestring参数名称
reject_reasonstring驳回原因

参阅 官方文档

Published on the GitHub by TheNorthMemory