Prompt: integrar Pix cobrança imediata (Modobank)
Copie o bloco abaixo para o agente. Não cole secrets reais.
You are implementing Modobank Pix cobrança imediata (happy path only).
Repository content pack is the source of truth. Work in this order:
1. Read docs/recipes/00-visao-geral.md through docs/recipes/06-receber-webhook-pagamento.md
2. Read docs/_meta/placeholders.md — use ONLY those tokens for hosts/secrets
3. Read docs/concepts/autenticacao.md and docs/concepts/mtls-certificados.md
4. Implement a small client that:
- Obtains OAuth2 token using the same flow as snippets/curl/token.sh (and match node/python/php variants)
- Creates a cob with PUT /cob/{txid} like snippets/*/create-cob.*
- Gets cob status like snippets/*/get-cob.*
- Optionally includes a webhook receiver stub like snippets/node/webhook-receiver.mjs
5. Do NOT invent official Modobank base URLs — keep {{MODOBANK_API_BASE_HML}} / {{TOKEN_URL}} or env vars named clearly
6. Do NOT re-spec the full BACEN OpenAPI; link to https://bacen.github.io/pix-api/openapi.yaml for schemas
7. No cobv, lotes, or devolução
8. After coding, list every file created and how to run against homologation
Prefer reusing snippet logic over rewriting. Output runnable code for ONE stack I choose: Node, Python, or PHP.
Stack sugerida no chat: diga ao agente "use Node" / "use Python" / "use PHP" na mesma mensagem.