> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kapso.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Check WABA funding eligibility

> Checks whether a connected WABA can switch to Kapso credits, without attaching funding.
An ineligible account, including a failed Meta read, returns `200` with
`eligible: false`. Treat `reason` as extensible. Optional: activation repeats every check.
External multi-partner solution accounts return `422`
(`external_mps_preflight_unavailable`).




## OpenAPI

````yaml /api/platform/v1/openapi-platform.yaml post /whatsapp/accounts/{waba_id}/funding/preflight
openapi: 3.1.0
info:
  title: Kapso Platform API
  version: 0.2.0
  description: >
    Build WhatsApp messaging into your product. Manage customers, connect phone
    numbers, send broadcasts, and handle conversations.
servers:
  - url: https://api.kapso.ai/platform/v1
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Customers
    description: Manage customer accounts
  - name: Setup Links
    description: WhatsApp onboarding via embedded signup
  - name: Phone Numbers
    description: Connect and manage WhatsApp numbers
  - name: Webhooks
    description: Subscribe to WhatsApp events
  - name: Display Names
    description: Update WhatsApp business display names
  - name: Broadcasts
    description: |
      Send template messages at scale

      **Alpha**: This API is in alpha and subject to change
  - name: Conversations
    description: Manage conversation state
  - name: Media
    description: Upload media files for WhatsApp messaging
  - name: Users
    description: Manage project team members
  - name: Inbox Embeds
    description: Create and manage embeddable inbox access links
  - name: Webhook Deliveries
    description: View webhook delivery attempts and their status
  - name: External API Logs
    description: View logs of external API calls made by the project
  - name: Log Search
    description: Search log events across API, Meta, workflow, and webhook sources
  - name: Events
    description: Emit and query project-scoped events
  - name: Provider Models
    description: List available AI provider models
  - name: WhatsApp Flows
    description: Build interactive WhatsApp Flows for surveys and forms
  - name: Contacts
    description: Manage WhatsApp contacts
  - name: Findings
    description: Detect recurring problems in conversations and investigate them with AI
  - name: Notifications
    description: >-
      Route project alerts to shared inboxes and Slack channels connected from
      the Kapso app
  - name: WhatsApp Funding
    description: >-
      Read Kapso funding status and recorded messaging and calling usage, and
      stop portfolio funding
  - name: Business Verification
    description: >-
      Send business verification documents to Meta for a customer's business
      portfolio
paths:
  /whatsapp/accounts/{waba_id}/funding/preflight:
    post:
      tags:
        - WhatsApp Funding
      summary: Check WABA funding eligibility
      description: >
        Checks whether a connected WABA can switch to Kapso credits, without
        attaching funding.

        An ineligible account, including a failed Meta read, returns `200` with

        `eligible: false`. Treat `reason` as extensible. Optional: activation
        repeats every check.

        External multi-partner solution accounts return `422`

        (`external_mps_preflight_unavailable`).
      operationId: preflightWhatsappAccountFunding
      parameters:
        - name: waba_id
          in: path
          required: true
          description: Meta WhatsApp Business Account ID.
          schema:
            type: string
      responses:
        '200':
          description: Eligibility result
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                properties:
                  data:
                    $ref: '#/components/schemas/WhatsappFundingPreflight'
              example:
                data:
                  waba_id: '109537945127015'
                  eligible: true
                  reason: null
                  message: null
                  recovery_action: null
                  waba_currency: USD
                  fx_margin_bps: 0
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '404':
          $ref: '#/components/responses/NotFoundError'
        '422':
          description: Not available for this account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WhatsappFundingErrorResponse'
components:
  schemas:
    WhatsappFundingPreflight:
      type: object
      properties:
        waba_id:
          type: string
        eligible:
          type: boolean
        reason:
          type: string
          nullable: true
          description: Extensible machine-readable reason when not eligible.
        message:
          type: string
          nullable: true
          description: Display copy when not eligible.
        recovery_action:
          type: string
          nullable: true
        waba_currency:
          type: string
          nullable: true
        fx_margin_bps:
          type: integer
          nullable: true
          description: FX margin in basis points for the WABA currency.
    WhatsappFundingErrorResponse:
      type: object
      properties:
        error:
          type: string
        error_kind:
          type: string
          nullable: true
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
  responses:
    UnauthorizedError:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFoundError:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.