Skip to content

Retrieve Card Status enumeration

Retrieves a list of card status codes displayed to the clients.

URL test:

    https://test.lightcms.io/cms/v1/enumeration/cardstatus

Method:

GET

Path items:

/enumeration/cardstatus

Parameters:

None

Example:

    curl -X GET "https://test.lightcms.io/cms/v1/enumeration/cardstatus" \
         -H 'accept: */*'

Responses:

200 - OK

Status Code: 200 OK

[
  {
    "code": "ACTIVE",
    "description": "Active"
  },
  {
    "code": "INACTIVE",
    "description": "Inactive"
  },
  {
    "code": "CANCELLING",
    "description": "Cancelling"
  },
  {
    "code": "REVOKED",
    "description": "Revoked"
  }
]

Parameter Location Type Description
code root string Card status code (e.g., ACTIVE, INACTIVE).
description root string Human‑readable description of the status.
500 - Internal error

Status Code: 500 Internal error

{
  "timestamp": "2025-07-22T13:09:02.348+02:00",
  "status": 500,
  "error": "Internal Server Error",
  "path": "/cms/v1/enumeration/cardstatus"
}

Parameter Location Type Description
timestamp root string ISO‑8601 timestamp when the error occurred.
status root integer HTTP status code (500).
error root string Short description of the error.
path root string The request path that caused the error.