Response codes

Bad request (400)

API responds with error 400 when request is failing for some reason

[
  {
    "type": "BusinessError",
    "code": "400.003",
    "message": "Error converting value of type Salutation, possible values are: Mr, Mrs, Miss",
    "actionCode": "Unavailable",
    "fieldReference": "customer.salutation"
  }
]

Unauthorized (401)

Wrong api key, wrong env, expired, no access

{
  "message": "Authorization has been denied for this request."
}

Not found (404)

Some required field was not found

[
  {
    "type": "BusinessError",
    "code": "404.001",
    "actionCode": "AskConsumerToReEnterData",
    "fieldReference": "customer.identificationNumber"
  }
]

Internal server error (500)

Something went terribly wrong. Please try again

{
  "message": "An error has occurred."
}