title: WhatsApp Integration
type: object
x-tags:
  - Models
description: Represents a merchant's WhatsApp connection, setup state and integration settings. Successful setup does not guarantee current credential health or template availability.
required:
  - supported
  - connection
  - settings
properties:
  supported:
    type: boolean
    description: Indicates whether WhatsApp is supported for the merchant.
  connection:
    description: The merchant's connection and setup state, or null when no connection exists. Poll while connection.setup_status is pending.
    oneOf:
      - $ref: ./WhatsAppConnection.yaml
      - type: 'null'
  settings:
    description: Integration settings for the connection, including pending or failed setup; null only when no connection exists.
    oneOf:
      - $ref: ./WhatsAppIntegrationSettings.yaml
      - type: 'null'
