> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tesouro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# merchantCategories

> Retrieves merchant categories.

`Query`

## Arguments

No arguments.

## Return type

`[MerchantCategoryOutput!]!`

<ResponseField name="code" type="String!" required>
  Unique ISO four digit value used to classify merchants and their transactions into specific
  categories based on the type of business, trade or services supplied.
</ResponseField>

<ResponseField name="description" type="String!" required />

<RequestExample>
  ```graphql Operation lines expandable theme={null}
  query MerchantCategories {
    merchantCategories {
      code
      description
    }
  }
  ```

  ```bash cURL lines expandable theme={null}
  curl --request POST \
    --url https://api.sandbox.com/graphql \
    --header 'Content-Type: application/json' \
    --header 'Authorization: Bearer <YOUR_ACCESS_TOKEN>' \
    --data '{
    "query": "query MerchantCategories {\n  merchantCategories {\n    code\n    description\n  }\n}"
  }'
  ```
</RequestExample>

<ResponseExample>
  ```json Response lines expandable theme={null}
  {
    "data": {
      "merchantCategories": {
        "code": "example",
        "description": "example"
      }
    }
  }
  ```
</ResponseExample>
