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

# Subaccount billing

> How the agency bills its clients: the organization's plan, the agency's Stripe and Payments.

The agency decides what it charges its clients. STChat sells to the agency, and the client buys from the agency.

## Connect the agency's Stripe

Under **Getting paid through the agency's Stripe**, the Owner or Admin connects the agency's Stripe account.

* You sign in to Stripe; STChat does not see or store your password or key.
* The money lands in the agency's account and goes on to the bank registered with Stripe.
* Stripe may ask for company documents before approving. Until then, the connection shows as "Waiting for Stripe" and charges do not go out.
* Once the account is accepted, the payment methods are Pix, boleto and credit card.

If you disconnect, open charges stay in Stripe and can still be paid. New charges, the dunning schedule and automatic billing stop until you connect again.

## The organization's plan

In the organization, the **Plan and billing** tab shows the current plan, the resale price and billing. Use **Change plan** to choose the mode:

| Mode | What it does |
| - | - |
| Paid plan | The organization pays for one of your agency's plans. The resale price is in its own section. |
| Free trial | Uses the agency's trial plan for a limited time. When it ends, you choose the paid plan. |
| No plan | No billing or dunning. The organization's cost stays with the agency. |

The change applies from the next statement. The resale price is what the organization pays per month, and the default is the plan price. Only the agency Owner or Admin changes the plan. The dunning schedule is the agency's.

## Billing outside STChat

A subaccount with no plan is normal when the agency bills the client outside STChat. An organization with **No plan** stays out of the closing, the statements, automatic billing, the dunning schedule and billing notices, and is not suspended for non-payment. You bill the client however you prefer.

What the organization uses still counts toward the agency, such as instances and Voice.

## Payments in the client's organization

**Payments** is a module that comes turned off by default. The agency turns it on per organization. With it on, the client connects their own Stripe account, and the money goes straight to their account.

**Revenue** is also a per-organization module, turned off by default, and it requires Payments to be on.

## The agency's card and billing

On the portal's **Billing** page, the agency follows the charges for its own plan and changes the card.

## Next steps

* [How to get paid by clients through Stripe](https://docs.stchat.app/en/agencias/receber-dos-clientes-pela-stripe.md)
* [Resale prices and client plans](https://docs.stchat.app/en/agencias/precos-de-revenda-e-planos-dos-clientes.md)
* [Client statements](https://docs.stchat.app/en/agencias/extratos.md)
* [Agency billing and card](https://docs.stchat.app/en/agencias/faturamento-e-cartao.md)
* [Supporter Plan](https://docs.stchat.app/en/agencias/plano-apoiador.md)
* [Organizations](https://docs.stchat.app/en/agencias/organizacoes.md)


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