---
title: "Categories"
method: GET
path: "/v2/categories"
tags: ["Core Data"]
---

# Categories

`GET /v2/categories`

Get all categories that can be used to onboard new sales locations or check the Payment methods that are available for a specific category.

## Query parameters

- `code` object
  - `eq` string — Get results that equal the given value
  - `neq` string — Get results that do not equal the given value
- `name` object
  - `eq` string — Get results that equal the given value
  - `neq` string — Get results that do not equal the given value
  - `like` string — Get results that contain the given value
  - `nlike` string — Get results that do not contain the given value

## Response `200`

OK

- CategoryCategoriesOutput
  - `categories` CategoryCategoryOutput[] — Collection of Category.Category objects or an empty array
    - `code` string — The category (code) identifier
    - `name` string — The category name
    - `description` string — The category's description.
    - `sequence` integer — The sequence of the category.
    - `available` boolean — The category's availability.
    - `initialMCC` integer, nullable — The initial MCC of the category
    - `initialRiskCategory` string, nullable — The initial risk category of the category
    - `translations` object — Object containing all the translations with the property name in which the corresponds with a property on the object itself.
    - `paymentMethods` CategoryCategoryOutputPaymentMethod[]
      - `id` string — The payment method ID
      - `name` string — The payment method name
    - `createdAt` string, date-time, nullable — The date and time at which this entity was created in ISO-8601 (ATOM) notation
    - `createdBy` string, nullable — The reference to an account or token whom created the entity
    - `modifiedAt` string, date-time, nullable — The date and time at which this entity was modified in ISO-8601 (ATOM) notation.
    - `modifiedBy` string, nullable — The reference to an account or token whom modified this entity
    - `deletedAt` string, date-time, nullable — The date and time at which this entity was deleted in ISO-8601 (ATOM) notation.
    - `deletedBy` string, nullable — The reference to an account or token whom deleted the entity
  - `total` integer, nullable — The total items the collection contains
  - `_links` LinkOutput[], nullable
    - `href` string, nullable — The URI to the linked resource
    - `rel` string, nullable — The name of the linked resource
    - `type` string, nullable — The (http(s)) method needed to approach the linked resource

## Other responses

- `400` — Bad request, see response body for more information
- `401` — Unauthorized. Supplied credentials are invalid
- `403` — Forbidden. Supplied credentials have no rights
- `404` — Resource not found
- `405` — Used HTTP method is not allowed
- `406` — Not acceptable. The supplied content type in the accept parameter in the header is not supported
- `410` — Indicates that this resource is no longer available for use
- `415` — Unsupported media. The supplied content type in the content-type parameter in the header is not supported
- `429` — Rate limit reached.
- `500` — An internal error occurred.
- `503` — The server is currently unable to handle your request

---

[API](https://skmtc.net/pay/apis/pay-transaction-gateway-unit-api.md) · [All operations](https://skmtc.net/pay/apis/pay-transaction-gateway-unit-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pay/pay-transaction-gateway-unit-api/versions/2bc260c7bdfc/schema)
