API keys
Each project has two API keys:Simulating payments
In the sandbox, confirm a transaction without needing a real PIX:cURL
transaction.paid event.
Webhooks work normally in the sandbox — ideal for testing the full flow end to end.
Automatic outcome by cents
In the sandbox, the charge outcome is controlled by the last two digits of the amount — without needing to call the simulation endpoint:
Ideal for automated tests: create three charges and validate all three webhook flows at once.
Identifying sandbox transactions
Transactions created withsk_test_* stay isolated from production ones. The isSandbox: true field is included in the webhook payload to make identification easier.
Next steps
Simulate a payment
Force the payment of a sandbox charge via the API.
Configure webhooks
Receive
transaction.paid and transaction.expired at your endpoint.Authentication
Understand the
sk_test_ and sk_live_ keys.Go to production
Run through the checklist before processing real payments.