{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/management-create-merchant-response-schema.json",
  "title": "CreateMerchantResponse",
  "description": "CreateMerchantResponse schema from Adyen API",
  "type": "object",
  "properties": {
    "businessLineId": {
      "description": "The unique identifier of the [business line](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines).",
      "type": "string"
    },
    "companyId": {
      "description": "The unique identifier of the company account.",
      "type": "string"
    },
    "description": {
      "description": "Your description for the merchant account, maximum 300 characters.",
      "maxLength": 300,
      "type": "string"
    },
    "id": {
      "description": "The unique identifier of the merchant account. If Adyen set up a template for the `reference`, then the `id` will have the same value as the `reference` that you sent in the request. Otherwise, the value is generated by Adyen.",
      "type": "string"
    },
    "legalEntityId": {
      "description": "The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities).",
      "type": "string"
    },
    "pricingPlan": {
      "description": "Partner pricing plan for the merchant, applicable for merchants under AfP managed company accounts.",
      "type": "string"
    },
    "reference": {
      "description": "Your reference for the merchant account.",
      "type": "string"
    }
  }
}