查询升级申请单状态
使用“提交升级申请单”接口后,可不定期调用此接口查询申请单状态(建议提交申请后1分钟查询),直至申请单为“完成”状态。1)若申请状态为待账户验证,请按接口中的指引完成账户验证;2)若申请状态为审核中,微信支付会在2个工作日内完成资料审核;3)若申请状态为待签约,接口会返回签约二维码。
🚫
本接口服务已于 2023.05.23
(北京时间)下线,文档仅做留存参考。
请求参数 | 类型 | 描述 |
---|---|---|
security | true | 声明加载商户API证书 |
xml | object | 声明请求的XML 数据结构 |
version | string | 接口版本号 |
mch_id | string | 商户号 |
sign_type | string | 签名类型HMAC-SHA256 枚举值 |
sub_mch_id | string | 小微商户号 |
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_code | string | 返回状态码SUCCESS | FAIL 枚举值之一 |
return_msg | string | 返回信息 |
nonce_str | string | 随机字符串 |
sign | string | 签名 |
result_code | string | 业务结果SUCCESS | FAIL 枚举值之一 |
err_code | string | 错误代码 |
err_code_des | string | 错误代码描述 |
sub_mch_id | string | 小微商户号 |
applyment_state | string | 申请状态 |
applyment_state_desc | string | 申请状态描述 |
sign_qrcode | string | 签约二维码 |
sign_url | string | 签约链接 |
audit_detail | string | 审核详情 |
account_name | string | 付款户名 |
pay_amount | string | 汇款金额 |
destination_account_number | string | 收款卡号 |
destination_account_name | string | 收款户名 |
destination_account_bank | string | 开户银行 |
city | string | 省市信息 |
remark | string | 备注信息 |
deadline_time | string | 汇款截止时间 |
param_name | string | 参数名称 |
reject_reason | string | 驳回原因 |
参阅 官方文档