---
updatedAt: 2025-06-04T23:54:42.000Z
agentTools:
  projectIndex: https://developer.kalixa.com/llms.txt
---

# Gets a merchant for a given merchantId

Gets a merchant for a given merchantId

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "4.0.0",
    "title": "Payment Service v4"
  },
  "paths": {
    "/merchants/{mid}": {
      "get": {
        "summary": "Gets a merchant for a given merchantId",
        "description": "Gets a merchant for a given merchantId",
        "operationId": "getMerchant",
        "parameters": [
          {
            "in": "path",
            "name": "mid",
            "description": "The id of the merchant",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid data supplied"
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.test.kalixa.com/api/v4"
    }
  ],
  "components": {
    "schemas": {
      "MerchantResponse": {
        "type": "object",
        "properties": {
          "message": {
            "items": {
              "$ref": "#/components/schemas/Merchant"
            }
          }
        }
      },
      "Merchant": {
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "description": "Internal identifier of the merchant"
          },
          "externalId": {
            "type": "string",
            "description": "External identifier of the merchant"
          },
          "name": {
            "type": "string",
            "description": "Name of the merchant"
          },
          "legalName": {
            "type": "string",
            "description": "Legal name of the merchant"
          },
          "dbaName": {
            "type": "string",
            "description": "The doing business as name under which the merchant operates"
          },
          "businessVAT": {
            "type": "string",
            "description": "Value added tax used by the merchant"
          },
          "incorporationNumber": {
            "type": "string",
            "description": "Incorporation number of the merchant"
          },
          "street": {
            "type": "string",
            "description": "Street where the merchant is located"
          },
          "city": {
            "type": "string"
          },
          "postalCode": {
            "type": "string",
            "description": "Postal code where the merchant is located"
          },
          "country": {
            "type": "string",
            "description": "Country name in which the merchant is located"
          },
          "countryCode2": {
            "type": "string",
            "description": "Two letter code of the merchant´s country"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```