# Get verification QR code
# Interface call request specification
Http request method: POST
https://api.weixin.qq.com/product/qrcode/get?access_token=xxxxxxxxx
# Request Parameter Sample
{
"ticket":"05ba627d5b73b6f3ef0dcfc7"
}
# Return Package Example
{
"errcode": 0,
"errmsg":"ok",
"qrcode_buf":"xxxxx"
}
# 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 |
qrcode_buf | string | two-dimensional barcode(Base64 encoding binary, requires base64 decoding) |
# Return code
Return code | Type of error |
---|---|
-1 | System exception |
-2 | Token is too long |
60220 | Ticket has expired |
60208 | Wrong ticket |