# plugin-payments

`@fayz-ai/plugin-payments` · preview · Capability parcial

Taking money is the one thing every commerce build cannot fake, and in Brazil that means Pix. plugin-payments gives Fayz apps a single PaymentProvider abstraction for Pix charges — create a charge, get a QR / copy-paste code, poll its status — behind the same safe mock/real resolver used across the SDK. Build and demo the whole checkout flow today on the mock; swap in a real gateway later without…

## Ficha técnica

- **Pacote:** `@fayz-ai/plugin-payments`
- **Versão:** 0.1.1
- **Status:** preview
- **Capability:** Capability parcial
- **Tipo de produto:** Website
- **Canal stable:** `^0.1.1`
- **Migrations:** nenhuma

## Modelo de dados

Sem tabelas próprias — usa a biblioteca core / archetype (mesma regra: `tenant_id` + RLS).

## Tools de IA

Nenhuma ferramenta de IA declarada.

## Integrações

Sem conector hospedado — provedores externos via spine de conectores (`@fayz-ai/core`).

## Integrar

Adicione o plugin em `surfaces.admin.plugins` do `app.manifest.json` e rode o doctor:

```json
{ "surfaces": { "admin": { "plugins": [ { "id": "payments", "enabled": true } ] } } }
```

```bash
npx fayz doctor
```
