Retrieve Token Categories
Retrieves the list of supported token categories.
URL test:
Method:
GET
Path items:
/trancore/tokenCategories
Parameters:
None
Example:
Responses:
200 - OK
Status Code: 200 OK
[
{
"code": "APPLE_PAY",
"description": "Transactions made using Apple Pay"
},
{
"code": "GOOGLE_PAY",
"description": "Transactions made using Google Pay"
},
{
"code": "SAMSUNG_PAY",
"description": "Transactions made using Samsung Pay"
},
{
"code": "UNKNOWN",
"description": "Token category is unknown or not specified"
}
]
| Parameter | Location | Type | Description |
|---|---|---|---|
| code | root | string | Token category code (e.g., APPLE_PAY). |
| description | root | string | Human‑readable description of the token category. |
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/tokenCategories"
}
| 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. |