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

# Get a merchant

> Get one merchant by id. Returns null if not found or merged.



## OpenAPI

````yaml /openapi.json get /api/merchants/{id}
openapi: 3.1.0
info:
  title: Equated API
  version: 1.0.0
  description: >-
    Agent-facing accounting API. Authenticate with a bearer token issued from
    Settings → API Tokens, or via the in-app session cookie when called from the
    web client.
servers:
  - url: https://app.equated.co
    description: API server
security: []
paths:
  /api/merchants/{id}:
    get:
      tags:
        - Merchants
      summary: Get a merchant
      description: Get one merchant by id. Returns null if not found or merged.
      parameters:
        - schema:
            type: integer
            minimum: 0
            exclusiveMinimum: true
          required: true
          name: id
          in: path
      responses:
        '200':
          description: The merchant, or null
          content:
            application/json:
              schema:
                type: object
                properties:
                  merchant:
                    allOf:
                      - $ref: '#/components/schemas/Merchant'
                      - nullable: true
                required:
                  - merchant
      security:
        - bearerAuth: []
components:
  schemas:
    Merchant:
      type: object
      properties:
        id:
          type: integer
          minimum: 0
          exclusiveMinimum: true
        orgMerchantId:
          type: integer
          minimum: 0
          exclusiveMinimum: true
        name:
          type: string
        description:
          type: string
          nullable: true
        website:
          type: string
          nullable: true
        imageUrl:
          type: string
          nullable: true
        logo:
          type: string
          nullable: true
        isVendor:
          type: boolean
        isCustomer:
          type: boolean
      required:
        - id
        - orgMerchantId
        - name
        - description
        - website
        - imageUrl
        - logo
        - isVendor
        - isCustomer
      additionalProperties:
        nullable: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API token issued from the Equated app under Settings → API Tokens.

````