API DOCUMENTATION
Receive PIX through one API.
PIX payments platform with a public API: charges, webhooks and a test mode. Written to be read by AI agents and by people.
FIRST STEPS
Start with a test charge
Run the whole flow in test mode, without moving money.
- 1Get a test keyThe key decides the environment: test or live.
- 2Create a chargeGenerate the PIX QR code for your payer.
- 3Receive the webhookConfirm the payment on your server.
Explore the documentation
One page per subject, each one readable on its own.
Authentication
API keys, environments, and what happens when a key is rejected.
Test mode
Run the whole integration, from the QR code to the webhook, without moving money.
MCP
Connect an AI agent to the API through the Model Context Protocol, with every operation as a tool.
Charges
A PIX payment to receive: how to create it, follow its state and retry safely.
Refunds
Sending the amount of a paid charge back to the payer: what it takes, how it ends, and how to retry safely.
Disputes
What happens when a payer disputes a PIX at their bank: the amount is held, and the bank decides.
Offers
Something on sale at a fixed price, with a checkout page: how to create it, share its address and take it off sale.
Balance
What your sales left in the environment: what can be paid out, what is still pending, what a dispute holds and what is on its way out.
Webhooks
How the platform tells your server about every state change, and how to verify the message.
Errors
The format of error responses, the error codes, and what to do with each one.