# Query and Verify QR Code Status

# Interface call request specification

Http request method: POST
https://api.weixin.qq.com/product/qrcode/check?access_token=xxxxxxxxx

# Request Parameter Sample

{
  "ticket":"05ba627d5b73b6f3ef0dcfc7"
}

# Return Package Example

{
    "errcode": 0,
    "errmsg":"ok",
    "status":0,
    "self_check_err_code":0,
    "self_check_err_msg":"", 
    "scan_user_type":1
}

# Request Parameter Dxplaination

parameter type Is it necessary to fill out Introductions
ticket string yes QR code ticket

# Return parameter specification

parameter type Introductions
Errcode number Error code
errmsg string Error message
status number Scan status
self_check_err_code number Service Return Error Code
self_check_err_msg string Business returns error message
scan_user_type number The identity of the scanner

# Enumeration value - status

Enumeration value describe
0 Not scanned
1 Confirmed
2 Cancelled
3 Deactivated
4 Code scanned

# Enumeration value - status

Enumeration value describe
0 Non-administrator
1 admins
2 Sub-administrator

# Return code

Return code Type of error
-1 System exception
-2 Token is too long