API Get Token
Used to generate and retrieve a token. Used to obtain a bearer token for accessing the API to generate VietQR payment codes.
POST
POST
Headers
Name
Value
Content-Type
application/json
Authorization
Basic Authentication: Base64[username:password
]
Body
Name
Type
Description
access_token
String
It is the Bearer Token provided by VietQR after completing Step 4.
Used to access and generate VietQR payment codes.
token_type
String
It is a “Bearer” type token.
expires_in
String
The token expiration time is set to 300 seconds by default.
Response
Reference code
Frequently Asked Questions (FAQs)
Last updated