3️⃣Gọi API Get Token
Sử dụng thông tin kết nối do VietQR cung cấp để lấy token phục vụ cho việc truy cập API của VietQR
POST- Môi trường Dev (Test/Kiểm thử)
POST- Môi trường Dev (Test/Kiểm thử)https://dev.vietqr.org/vqr/api/token_generatePOST- Môi trường Production (Golive/Vận hành)
POST- Môi trường Production (Golive/Vận hành)https://api.vietqr.org/vqr/api/token_generateName
Value
Name
Type
Description
{
"access_token": "bearer_token_của_VietQR_cung_cấp",
"token_type": "Bearer",
"expires_in": 300
}{
"status": "FAILED",
"message": "mã_lỗi"
}

Code tham khảo
Các câu hỏi thường gặp
Last updated