{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cm-com/main/json-schema/cm-com-merchant-response-schema.json",
  "title": "Merchant information",
  "description": "Retrieve properties of this merchant",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cm-com-verification-idin-v1-openapi.yml#/components/schemas/MerchantResponse",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of this merchant"
    },
    "status": {
      "type": "string",
      "description": "When you are not fully known to CM yet, and have not yet proven to qualify as an iDIN merchant, then you will have the `onboarding` status. In this status, you will only be able to retrieve test data.\n",
      "enum": [
        "onboarding",
        "active",
        "disabled"
      ]
    },
    "services": {
      "type": "object",
      "properties": {
        "identity": {
          "type": "boolean",
          "description": "Retrieve a uniquely identifying token with the bank for this consumer that is consistent across multiple sessions\n"
        },
        "name": {
          "type": "boolean",
          "description": "Can retrieve the name information associated with this consumer"
        },
        "gender": {
          "type": "boolean",
          "description": "Can retrieve the gender of this consumer"
        },
        "address": {
          "type": "boolean",
          "description": "Can retrieve address information associated with this consumer"
        },
        "date_of_birth": {
          "type": "boolean",
          "description": "Can retrieve the birthdate of the user"
        },
        "18y_or_older": {
          "type": "boolean",
          "description": "Can retrieve if this user is known to be 18 years or older."
        },
        "email_address": {
          "type": "boolean",
          "description": "Can retrieve the email address associated with this consumer."
        },
        "telephone_number": {
          "type": "boolean",
          "description": "Can retrieve the telephone number associated with this consumer."
        }
      },
      "description": "This lists the services that you are allowed to access per your agreement with CM."
    },
    "contact": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name of contact person"
        },
        "phone": {
          "type": "string",
          "description": "Phone number of contact person"
        },
        "email": {
          "type": "string",
          "description": "E-mail address of contact person",
          "format": "email"
        }
      },
      "description": "Your contact information as it is known to CM"
    },
    "balance": {
      "type": "object",
      "properties": {},
      "description": "Reserved. This will list the credit balance etc."
    }
  }
}