Skip to content

Retrieve Card Entry Modes

Returns the list of supported card‑entry‑mode codes that can appear in transaction records.

URL test:

    https://test.lightcms.io/trancore/v1/trancore/cardEntryMode

Method:

GET

Path items:

/trancore/cardEntryMode

Parameters:

None

Example:

    curl -X GET "https://test.lightcms.io/trancore/v1/trancore/cardEntryMode" \
         -H 'accept: */*'

Responses:

200 - OK

Status Code: 200 OK

[
  {
    "code": "UNKNOWN",
    "description": "Card entry mode is unknown"
  },
  {
    "code": "MANUAL_ENTRY",
    "description": "Card details were manually entered"
  },
  {
    "code": "MAGNETIC_STRIPE_READ",
    "description": "Card was read using the magnetic stripe"
  },
  {
    "code": "CHIP_READ",
    "description": "Card was read using the chip"
  },
  {
    "code": "CONTACTLESS",
    "description": "Card was used for a contactless transaction"
  },
  {
    "code": "ELECTRONIC_COMMERCE",
    "description": "Transaction was conducted through electronic commerce (e.g., online or mobile shopping)"
  }
]

Parameter Location Type Description
code root string Short identifier used in transaction payloads (e.g., CONTACTLESS).
description root string Human‑readable explanation of the entry mode.
500 - Internal error

Status Code: 500 Internal error

{
  "timestamp": "2023-08-15T12:34:56.789Z",
  "status": 500,
  "error": "Internal Server Error",
  "path": "/cms/v1/trancore/cardEntryMode"
}

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.