- Home
- Skills
- APIs & Backend
- Pix Automático Integration (Brazil Recurring Pix)
Pix Automático Integration (Brazil Recurring Pix)
by Diego Godoi
It is replacing boleto and card subscriptions for gyms, schools, SaaS, utilities and memberships.
Free
Pix Automático Integration (Brazil Recurring Pix)
Example session with this skill installed
We run a gym chain and want to charge R$ 119.90 per month via Pix Automático, starting 10/12/2026, with retries if the debit fails. Customers sign up on our website. Our bank is already enabled. Design the flow and give me the first payloads.
- Read your context and instructions
- Compiled the pix autom tico
Exemplo com dados fictícios.
Fluxo recomendado: Jornada 2 (QR de autorização)
O cliente se cadastra no site e escaneia um QR para autorizar no app do banco — sem pagamento imediato (a 1ª mensalidade vence em 10/12).
Sequência
POST /locrec→loc.idPOST /reccomlocepoliticaRetentativa: PERMITE_3R_7D→idRec(prefixo RR)- Mostrar
dadosQR.pixCopiaEColano site - Webhook
/webhookrec→ statusAPROVADA - Para cada ciclo,
POST /cobrentre D-10 e D-2 - Webhook
/webhookcobr→ tentativaPAGAouREJEITADA→POST /cobr/{txid}/retentativa/{data}
Escopos: payloadlocationrec.write, rec.write, rec.read, cobr.write, webhookrec.write, webhookcobr.write.
Payload validado
{"vinculo": {"objeto": "Plano Mensal Academia", "contrato": "CT-2026-0042",
"devedor": {"cpf": "52998224725", "nome": "Fulano de Tal"}},
"calendario": {"dataInicial": "2026-12-10", "periodicidade": "MENSAL"},
"valor": {"valorRec": "119.90"}, "politicaRetentativa": "PERMITE_3R_7D", "loc": 108}
validar-rec → válido, 0 erros.
Calendário (com ajuste de dia útil)
| Ciclo | Vencimento | Enviar cobr entre |
|---|---|---|
| 1 | 10/12/2026 | 30/11 e 08/12 |
| 2 | 11/01/2027 (10/01 é domingo) | 01/01 e 09/01 |
| 3 | 10/02/2027 | 31/01 e 08/02 |
(código Node.js do cliente OAuth mTLS e do handler de webhook segue abaixo)
Connects securely to your tools. The creator never sees your data.
About this skill
Recurring billing with Pix, without reading 10,000 lines of spec
Pix Automático lets Brazilian customers authorize recurring debits once, from their bank app. It is replacing boleto and card subscriptions for gyms, schools, SaaS, utilities and memberships. The API is powerful but detailed. This skill gives your agent the spec knowledge and local validators.
What it does
- Picks the right journey (push, QR authorization, QR with immediate payment, payment plus authorization offer) for your business case.
- Designs the call sequence with exact endpoints and OAuth scopes:
/locrec,/rec,/solicrec,/cobr, retries and webhooks (/webhookrec,/webhookcobr). - Generates and validates IDs: idRec (RR/RN prefix matching the retry policy, ISPB, date, unique suffix) and txid (26-35 chars).
- Validates payloads locally before you hit the bank: periodicity enums, value format, mutually exclusive fields, dates, CPF/CNPJ check digits (including alphanumeric CNPJ), tax object rules.
- Builds the billing calendar (weekly to yearly, end-of-month handling, business-day adjustment) with the D-10 to D-2 sending window.
- Maps every status and rejection/cancellation code into a state machine for your database.
- Writes the integration code in your stack (Python, Node, PHP) with mTLS auth, idempotency and webhook handling, plus a sandbox test plan.
Based on the Banco Central Pix API specification. Your bank's base URL and limits still come from its developer portal.
Based on the Banco Central Pix API spec (v2.11) as of November 2026. Does not call your bank: base URLs, credentials, mTLS certificates and limits come from your PSP's developer portal. The D-10 to D-2 sending window should be confirmed with your PSP.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 9 days ago
- Free with an Agensi account
- Software
Python 3.8+Pix Automático enabled by your bank (PSP)
Permissions
What's inside
Frequently Asked Questions
New in APIs & Backend
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.