Client Status

📘

Early Access

Credit API endpoints are currently being finalised as part of ongoing product development. While we do not anticipate significant changes, some interfaces, behaviours, and documentation may be refined before general availability.

The Client Status endpoint enables you to check that the Credit API is reachable and that your token is accepted. Use it for regular health checks and monitoring, instead of calling a business endpoint such as Get Dashboard.

The Client Status endpoint does not check the systems the Credit API depends on, such as the lending system. A successful response means only that the Credit API is available and your token is valid.

Prerequisites

To integrate calls to the Client Status endpoint, you need:

  • A valid Credit API token for your sub-client.

Example Request

Check the status of the Credit API by making a GET request to the Client Status endpoint. The request has no parameters or body.

GET {{baseUrl}}/api/v1/credit/status

Example Response

A successful request returns a 200 HTTP status code.

{
  "status": "healthy",
  "subClientId": "a1b2c3d4-0000-4e5f-8a9b-0c1d2e3f4a5b"
}

Response Fields

AttributeDescription
statusstring. The status of the Credit API. Returns healthy when the API is reachable and your token is accepted.
subClientIdstring. The identifier of the sub-client the token belongs to.
👍

Tip

Check that subClientId matches the sub-client you expect. This confirms that your integration is using the right token for the environment.

Error Messages

If there is a problem with the request, the response returns the following error:

  • 401: The token is missing or invalid. Check that you are sending a valid Credit API token in the Authorization header.

Did this page help you?