POST /api/login
Version: 3.0.0
Url
https://platform.globaltravelrule.com/api/login
The user logs in to obtain the JWT Token and uses it to make api calls. (The login session is Single-sign on: SSO, if you login from other session, current session will be forced logout)
Authentication
No authentication
Path Parameters
No path parameters
Query Parameters
No query parameters
Request Body (Optional)
- Schema
- Example
{
"accessKey": "[access_key] in the csv",
"expireInMinutes": 0,
"vaspCode": "string",
"signedSecretKey": "sha512([secret_key] in the csv)"
}
Responses
Status 200
Login success, user info returned.
JSON Content
- Schema
- Example
{
"msg": "string",
"verifyStatus": 100000,
"data": {
"jwt": "string",
"vaspCode": "string"
},
"verifyMessage": "Success",
"success": true,
"status": "string"
}