# Get a verification QR code
# Dxplaination of Interface Call Request
Http request method: POST
https://api.weixin.qq.com/product/qrcode /get?access_token=xxxxxxxxx
# Example of request parameters
{
"ticket":"05ba627d5b73b6f3ef0dcfc7"
}
# Examples of back-up
{
"errcode": 0,
"errmsg":"ok",
qrcode _buf":"xxxxx"
}
# Dxplaination of request parameters
parameter | type | Is it compulsory? | Introductions |
---|---|---|---|
ticket | string | yes | Two-dimensional ticket |
# Dxplaination of callback parameters
parameter | type | Introductions |
---|---|---|
Error code | number | Error code |
errmsg | string | Error message |
qrcode _buf | string | two-dimensional barcode(Base64 encoded binary, requiring Base64 decoding) |
# Return code
Return code | Error Type |
---|---|
-1 | System exceptions |
-2 | Token too long |
60220 | Ticket has expired |
60208 | The wrong ticket. |