# Asynchronous status queries

# Dxplaination of Interface Call Request

http请求方式:POST
https://api.weixin.qq.com/product/register/check_audit_status?access_token=xxxxxxxxx

When the registration interface is called and the registered AppID is queried, the component access token is used.When appid is queried and needs to query audit status and call other interfaces, the authorizer access token is used

# Dxplaination of request parameters

参数 type Is it compulsory? Introductions
wx_name string yes WeChat No.

# Status enumeration values

枚举值 describe
1 It is currently not operational
2 Normal, currently operable
3 Submitted, under review
4 The audit failed and was rejected.
5 success
6 freeze

# Example of request parameters

{
    "wx_name": "xxx"
}

# Dxplaination of callback parameters

参数 type Introductions
errcode number Error code
errmsg string Error message
data.register_status number Registration status 0: Success 1: The agreement has been sent not signed 2: The agreement has not been sent or the agreement has expired, the agreement needs to be sent, when the register_status is 0, the following fields are meaningful
data.merchant_info_status number Merchant information status, specific meaning See status enumeration value
data.acct_verify_status number Account validation status, meaning See the status enumeration value
data.basic_info_status number Basic information state, specific meaning See the state enumeration value
data.pay_sign_status number Payment contract status. What it means See status enumeration value
data.audit_reject_reasons string Reasons for refusal of basic information
data.legal_validation_url string Legal certification links
data.pay_audit_detail.param_name string Parameter Name
data.pay_audit_detail.reject_reason string Reasons for refusal of payment qualification
data.register_status number Registration Status 0: successful 1: agreement has been sent yet not signed 2: agreement has not been sent or has expired, agreement needs to be sent
data.registered_appid string Registered AppID
data.sign_url string Payment Signing URL

# Examples of back-up

{
    "errcode": 0,
    "errmsg":"ok",
    "data": 
    {
        "merchant_info_status": 0,
        "acct_verify_status": 0,
        "basic_info_status": 0,
        "pay_sign_status": 0,
        "audit_reject_reasons": "基础信息驳回原因",
        "legal_validation_url": "法人验证链接",
        "pay_audit_detail": 
        {
            "param_name": "参数名",
            "reject_reason": "支付资质驳回原因"
        },
        "register_status": 0,
        "registered_appid": "wxe11234123123"
    }
}

# Return code

返回码 Error Type
-1 System exceptions
-2 Token too long