Complete Login
POST/auth/login-complete
Complete a login sequence to obtain access and refresh tokens, and cardholder account id. The login sequence is initialized by Initiate Login or Sign Up. For more details, see Authentication.
Request
- application/json
Body
required
loginRequestId stringrequired
The unique identifier of the login request.
signature stringrequired
The signature of the challenge.
Responses
- 200
- 403
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
accessToken string
The access token that will be used for subsequent authenticated requests.
refreshToken string
JWT that is used to request a new access token. Refresh tokens are valid for 30 days.
cardholderAccountId string
The unique identifier of the cardholder.
{
"accessToken": "eyJhbGasddweUzI1NiIsI...",
"refreshToken": "eyJhbGciOiJSUzI1NiIsI...",
"cardholderAccountId": "29097f50d221858223a17633e36716f9"
}
INVALID_SIGNATURE Invalid signature.
CHALLENGE_EXPIRED Challenge expired.
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
statusName stringrequired
errorCode stringrequired
reason string
{
"statusCode": 403,
"statusName": "Forbidden",
"errorCode": "FORBIDDEN",
"reason": "Unauthorized"
}
Loading...