Já possui negociação em outra plataforma? Temos condições exclusivas para você!

PIX API: Complete 2026 Technical Guide to Scale Your Operation

You integrated a PIX API. Everything worked in sandbox. Went to production. Two days later, support tickets start: “payment didn’t land”, “QR Code expired”, “webhook didn’t arrive”. You check the dashboard and discover 12% of transactions failed on timeout, retry didn’t exist, and reconciliation became a spreadsheet. It’s the most common scenario for teams that contract the first PIX API they find instead of evaluating which one is right for operations at scale.

This guide is for developers, tech leads and product managers who need to choose a PIX API that handles 10, 100 or 1000 transactions per minute without breaking. You’ll understand what a real PIX API needs to deliver, how the technical flow works (Cash-In, Cash-Out, Cob, Split), 8 criteria to evaluate vendors, honest comparison of market alternatives, and common errors that kill conversion.

What is a PIX API?

A PIX API is the programmatic interface that lets your system create, receive and manage PIX transactions without human intervention. Your application makes HTTP/REST calls to the provider endpoints, which communicates with the Brazilian Central Bank and PIX participants to settle payment in seconds. The API covers charging (static and dynamic QR Code), receiving (Cash-In), sending (Cash-Out), automatic split and confirmation webhooks.

PIX API isn’t a single thing. There are 4 main types, and what your operation needs depends on the business model:

How a PIX API works in practice

Imagine a $99 digital product sold at 8:47pm on a Saturday. Technical flow of a well-architected PIX API:

  1. Create charge: your backend POSTs to /v2/cob with amount, order ID (txid) and payer data. Expected latency: <300ms.
  2. QR Code return: API returns the EMV payload + QR Code URL. You render in checkout.
  3. Payment: customer opens bank app, scans or pastes, authorizes. Central Bank processes in <10 seconds.
  4. Confirmation webhook: API fires POST to your configured endpoint, with status “CONCLUIDA” and transaction data.
  5. Processing in your system: you release the product/service automatically. Ideally, idempotency key prevents double delivery.

Total time from customer click to product release: 10-30 seconds. That’s the benchmark for a good PIX API. More than that, there’s a bottleneck in the provider infrastructure.

Why your current PIX API might be losing sales

PIX is free for end-users, but not perfect. Companies lose up to 15% of payment attempts for reasons that a professional PIX API solves:

8 criteria to evaluate a PIX API before contracting

  1. Contractual uptime SLA: 99.9% without contract SLA is worth little. Request the contract, see compensation for breach.
  2. Documented average latency: ask for real p95 of charge creation. Reference: <400ms.
  3. Webhook with automatic retry: if your endpoint fails, the provider must resend (at-least-once delivery with idempotency key).
  4. Volume-negotiable rate: above $60K/month, fixed rate is a loss. Demand negotiation based on aggregate volume.
  5. Functional sandbox: test environment mirroring production. If not available, your team will debug in production.
  6. Official SDKs: Node, Python, PHP, Go at minimum. If only raw REST, you’re reinventing the wheel.
  7. Direct technical support: Slack or WhatsApp with engineering, not only sales. In production, technical questions need answers in minutes.
  8. Automatic reconciliation and native Split: without these, prepare for spreadsheets and manual processes.

BSPay PIX API: gateway and orchestrator in a single integration

The BSPay PIX API was built for operations scaling from 100 to 100,000 transactions/day without rewrite. Covers Cash-In, Cash-Out, Cob, CobV and native Split — all in the same REST integration. Technical differentiator: the internal orchestrator manages multiple PIX providers behind the unified API, so when one falls, transactions automatically rout without you doing anything. Over 30,000 active businesses process PIX through BSPay today.

Rates starting at 2.99% volume-negotiable, webhook with automatic retry, official SDKs in Node/Python/PHP, complete sandbox, dedicated technical support via exclusive 24h WhatsApp group. Our team helps migrate from any current PIX API without downtime — you keep the operational flow running while swapping the payment layer. See all features on the home page or talk to a specialist.

Frequently asked questions about PIX API

How long does it take to integrate a PIX API in production?

Basic integration (create charge + receive webhook) takes 1-3 days for a mid-level developer. Complete integration with Cash-Out, Split and automatic reconciliation takes 1-2 weeks. With official SDKs, both timelines drop by half.

What’s the average approval rate of a PIX API?

In professional APIs, PIX approval rate is between 96% and 99%. Rate below 94% indicates problem in the provider or QR Code TTL. PIX declines are usually blocked account, insufficient balance at the moment or expired QR — not “cancelled card” like in cards.

Is PIX API free or does it charge fees?

For end-users, PIX is free. For merchants, API charges fee per transaction (between 0.99% and 4%, depending on provider and volume). Aggregate volume above $60K/month allows negotiation for rates below 2% in the professional market.

Can I test a PIX API before contracting?

Yes. Any serious PIX API offers free sandbox environment with simulated transactions identical to production. If the vendor refuses sandbox or asks for signature before testing, red flag. You should be able to integrate and test the complete flow before any commercial commitment.

What’s the difference between PIX API and PIX gateway?

PIX API is the technical interface (REST endpoints, webhooks). PIX gateway is the product layer aggregating API + checkout + dashboard + reconciliation + anti-fraud as a package solution. A pure PIX API requires you to build everything in your backend; a gateway delivers more turnkey. At BSPay, you have both: raw REST API for full control, and ready gateway for speed.

Does PIX API work for recurrence (Automatic PIX)?

Yes. Automatic PIX (launched by Brazilian Central Bank in 2025) allows recurring charge authorized by the customer once, similar to direct debit. Modern PIX APIs already expose this flow — enabling SaaS subscriptions, course recurring fees and recurring plans without depending on cards.

Can I have multiple entities in the same PIX API?

Depends on the provider. Professional APIs allow multi-entity operations with separate credentials per entity, consolidated dashboard and isolated reconciliation. If the vendor requires separate integration per entity, you’ll duplicate engineering and accounting work.

Is it safe to expose a PIX API on the internet?

Yes, following standard practices: mandatory HTTPS, OAuth 2.0 or rotatable API key authentication, optional IP whitelisting for critical endpoints (Cash-Out), HMAC signature verification on webhooks. Real risk is not the API itself, but misconfiguration on your side (credentials in public source code, webhook without authentication).