{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateMerchantRequest",
  "title": "CreateMerchantRequest",
  "properties": {
    "businessLineId": {
      "description": "The unique identifier of the [business line](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines). Required for an Adyen for Platforms Manage integration.",
      "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"
    },
    "legalEntityId": {
      "description": "The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities). Required for an Adyen for Platforms Manage integration.",
      "type": "string"
    },
    "pricingPlan": {
      "description": "Sets the pricing plan for the merchant account. Required for an Adyen for Platforms Manage integration. Your Adyen contact will provide the values that you can use.",
      "type": "string"
    },
    "reference": {
      "description": "Your reference for the merchant account. To make this reference the unique identifier of the merchant account, your Adyen contact can set up a template on your company account. The template can have 6 to 255 characters with upper- and lower-case letters, underscores, and numbers. When your company account has a template, then the `reference` is required and must be unique within the company account.",
      "type": "string"
    },
    "salesChannels": {
      "description": "List of sales channels that the merchant will process payments with",
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "companyId"
  ],
  "type": "object"
}