{"uid":"cap_iJkaSYBdITaa_9SGUYH9h","slug":"br-intelligence-pix-br-code-generator-255c4091","name":"BR Intelligence – PIX BR Code Generator","description":"Brazil PIX code generator: create a static PIX copia-e-cola (BR Code) from a PIX key (CPF, CNPJ, phone, e-mail or random key), with optional amount, receiver name, city and reference, following the Central Bank of Brazil standard. Self-checked (CRC16). Nothing is stored.","url":"https://br-intelligence.brverify-api.workers.dev/v1/pix-code?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["key"],"properties":{"key":{"type":"string","description":"PIX key: CPF or CNPJ, phone with +55, e-mail or random key (EVP)."},"city":{"type":"string","description":"Optional receiver city (up to 15 characters)."},"name":{"type":"string","description":"Optional receiver name (up to 25 characters)."},"txid":{"type":"string","description":"Optional reference, letters and digits, up to 25."},"amount":{"type":"string","description":"Optional amount in BRL, up to 2 decimals (e.g. 25.00). Omit for an open amount."},"description":{"type":"string","description":"Optional message shown to the payer."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["payload","keyType","selfCheck"],"properties":{"txid":{"type":"string"},"amount":{"type":["number","null"]},"keyType":{"enum":["cpf","cnpj","email","phone","evp"],"type":"string"},"payload":{"type":"string","description":"PIX copia-e-cola (BR Code) ready to paste in a bank app or render as a QR code."},"currency":{"type":"string"},"selfCheck":{"type":"object","description":"The generated code decoded again: valid and CRC check."},"merchantCity":{"type":"string"},"merchantName":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yKPt5Og_VHFL11W8oZo5P","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a static PIX copia-e-cola (BR Code) string from a PIX key, with optional amount, receiver name, city, and reference, following the Central Bank of Brazil standard with CRC16 self-check.","exampleAgentPrompt":"Generate a static PIX copia-e-cola code for the PIX key 11999998888 (phone number) for R$75.00, with receiver name 'João Silva' and city 'São Paulo'.","exampleUseCases":[{"title":"E-commerce checkout PIX code","prompt":"Create a PIX copia-e-cola payment code for my CNPJ key 12.345.678/0001-99, amount R$149.90, receiver name 'Loja Digital', city 'Curitiba', and reference ID 'PEDIDO12345' so the customer can paste it into their bank app."},{"title":"Freelancer invoice payment link","prompt":"I need a PIX copia-e-cola string for my email key pagamentos@fulano.com.br with an open amount (no fixed value), my name 'Carlos Mendes', and city 'Rio de Janeiro' so I can send it to my client."},{"title":"Donation campaign QR code","prompt":"Generate a static PIX BR Code using the EVP random key a1b2c3d4-e5f6-7890-abcd-ef1234567890 for a donation campaign — no fixed amount, receiver name 'Instituto Esperança', city 'Belo Horizonte', and description 'Doação campanha 2025'."}],"resultDescription":"Returns a PIX copia-e-cola (BR Code) string ready to be pasted into any Brazilian bank app or rendered as a QR code, along with the detected key type, decoded self-check validation object, merchant name, merchant city, currency (BRL), and amount (if specified).","failureModes":["Invalid PIX key format — returns error if the key doesn't match CPF, CNPJ, phone (+55), email, or EVP (UUID) patterns","Amount format error — if amount has more than 2 decimal places or is non-numeric","Name or city too long — receiver name exceeds 25 characters or city exceeds 15 characters","Missing required 'key' parameter — API returns validation error","txid with invalid characters — reference must be alphanumeric only, up to 25 chars"],"whenToPreferThis":"Use this endpoint when you need to programmatically generate a valid, self-checked PIX payment code (copia-e-cola) from any PIX key type without storing data. Ideal for e-commerce checkout flows, invoice generation, donation forms, or any Brazilian payment scenario where you need a standards-compliant BR Code payload without building CRC16 encoding yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:31:06.049Z","isFirstParty":false,"canonicalSlug":"br-intelligence-pix-br-code-generator-255c4091"}