# Generate verification QR code
# Interface call request specification
Http request method: POST
https://api.weixin.qq.com/product/qrcode/gen?access_token=xxxxxxxxx
# Request Parameter Sample
{
"type":1
}
# Return Package Example
{
"errcode": 0,
"errmsg":"ok",
"qrcode_ticket":"xxxxx"
}
# Request Parameter Dxplaination
parameter | type | Is it necessary to fill out | Introductions |
---|---|---|---|
type | number | yes | Identity to be verified |
# Return parameter specification
parameter | type | Introductions |
---|---|---|
Errcode | number | Error code |
errmsg | string | Error message |
qrcode_ticket | string | QR code ticket, can be used forGet QR codeandCheck the scan status |
# Enumeration value - type
Enumeration value | describe |
---|---|
1 | admins |
# Return code
Return code | Type of error |
---|---|
-1 | System exception |
-2 | Token is too long |