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

# How it works

> Connect Payphone in Brain Studio and collect payments in Ecuador through a WebView embedded checkout in WhatsApp.

Payphone is an Ecuadorian payment provider that you can connect in Brain Studio using your own account.

Brain Studio creates the payment intent and exposes the **real transaction status** so your flow can continue based on the result.

***

## Integration overview

<Tabs>
  <Tab title="Installation">
    * Available in **Marketplace**
    * Requires an **active Payphone Business account** with at least one active store
    * Requires **[Access Token and Store ID](/guides/integraciones/pagos/proveedores/payphone/obtener-credenciales)**, available only after Payphone approval
    * When installing in Brain Studio, you must also enter **IVA (VAT)** (integer percentage, e.g. `12`) and **Moneda (Currency)** (`USD`)

    <Warning>
      For the WebView to work inside WhatsApp, the account must be a **verified WhatsApp Business** account.

      If it is not verified, the checkout will open in the device's external browser.
    </Warning>
  </Tab>

  <Tab title="Experience">
    * **Embedded WebView:** Yes
    * **Native in chat:** No
    * **External confirmation:** No

    <Info>
      The user completes the payment inside Payphone's official checkout.
      Capturing and processing sensitive data occurs in the provider's infrastructure.
    </Info>
  </Tab>

  <Tab title="Availability">
    **Available countries:** 🇪🇨 Ecuador\
    **Currency:** USD

    <Tip>
      Don't have a Payphone account? [Create one here](https://appstore.payphonetodoesposible.com/registerini).
    </Tip>
  </Tab>
</Tabs>

***

## Next steps

<Steps>
  <Step title="Get Payphone credentials">
    Before connecting, create the application in the Payphone developer portal and wait for the company request to be approved. Once approved, you will have the **Access Token** and the **Store ID** available.

    <Card title="Getting credentials" href="/guides/integraciones/pagos/proveedores/payphone/obtener-credenciales" icon="key">
      Set up your Payphone account and get the Access Token and Store ID.
    </Card>
  </Step>

  <Step title="Connect in Brain Studio">
    With the approved credentials, connect Payphone from Marketplace by entering the **Access Token**, the **Store ID**, the **IVA (VAT)**, and the **Moneda (Currency)**.

    <Card title="Connect in Brain Studio" href="/guides/integraciones/pagos/proveedores/payphone/conectar-en-brain-studio" icon="plug">
      Connect your account and complete the initial integration setup.
    </Card>
  </Step>

  <Step title="Use Payphone in your flow">
    Once connected, add the Payphone node to your flow and continue based on the real payment status.

    <Card title="Usage and configuration" href="/guides/integraciones/pagos/proveedores/payphone/uso-y-configuracion" icon="gear">
      Configure the payment experience inside the flow.
    </Card>
  </Step>
</Steps>
