Get the JWT authentication token
POST/kypay/login/
Get the JWT authentication token
Request
- application/json
Body
required
Auth request body
IDexternalSystem stringrequired
API Identifier
Key stringrequired
API Key
Responses
- 200
- 4XX|5XX
Get auth token
- application/json
- Schema
- Example (from schema)
Schema
token string
expireIn integer
number of seconds before token expiration
{
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImN0eSI6IkpXVCJ9.eyJpYXQ...",
"expireIn": "300"
}
An error occured
- application/json
- Schema
- Example (from schema)
Schema
success boolean
code integer
internal_code integer
message string
{
"success": "false",
"code": "400",
"internal_code": "3001",
"message": "Incorect data"
}
Loading...