Login
Method
POST
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 another session, the current session will be forced to logout.)
Authentication
No authentication
Path Parameters
No path parameters
Query Parameters
No query parameters
Request Body (Required)
- Schema
- Example
accessKey
OptionalString
Min Length0
Max Length256
Pattern
^[a-zA-Z0-9_+-]+(?:\.[a-zA-Z0-9_+-]+)*
callbackUrl
OptionalString
expireInMinutes
OptionalInteger (int32)
signedSecretKey
OptionalString
Min Length1
vaspCode
OptionalString
Min Length0
Max Length32
vaspPublicKey
OptionalString
Min Length0
Max Length1024
{
"vaspCode": "string",
"accessKey": "string",
"signedSecretKey": "string",
"expireInMinutes": 0
}
Responses
Status 200
OK
JSON Content
- Schema
- Example
[+]data
OptionalObject
verifyMessage
OptionalString
verifyStatus
OptionalInteger (int32)
{
"verifyStatus": 0,
"verifyMessage": "string",
"data": {
"vaspCode": "string",
"jwt": "string"
}
}