post
https://enbduat-acquiring-apigw.creditpluspinelabs.com/v1/apis/tokens
This API is used to generate the authentication token which should be passed as header in subsequent APIs.
HTTP Status and Response Status Matrix
| HTTP Status | Response Status | Response Message |
|---|---|---|
| 200 | SUCCESS | Token generated successfully. |
| 400 | VALIDATION_ERROR | When validation fails for request body, field specific validation errors will be returned. |
| 401 | WRONG_CREDENTIALS | Either the user does not exists, or there is mismatch in the credentials |
| 503 | SYSTEM_FAILURE | We are facing a downtime at our end, try reaching us after sometime |