Skip to content

Retrieve Transaction Types

Retrieves the list of allowed transaction type codes together with their direction and description.

URL test:

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

Method:

GET

Path items:

/trancore/transactiontypes

Parameters:

None

Example:

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

Responses:

200 - OK

Status Code: 200 OK

[
  {
    "code": "ATM",
    "direction": "DEBIT",
    "description": "ATM withdrawal"
  },
  {
    "code": "CRR",
    "direction": "DEBIT",
    "description": "Card-Not-Present return Reversal (except e-commerce)"
  },
  {
    "code": "GWR",
    "direction": "DEBIT",
    "description": "Gambling Credit Reversal (except e-commerce)"
  }
]

Parameter Location Type Description
code root string Transaction type code (e.g., ATM, RTL).
direction root string Financial direction of the transaction (DEBIT, CREDIT, NON_FINANCIAL).
description root string Human‑readable description of the transaction type.
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/trancore/transactiontypes"
}

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.