Created
You create the charge with the API, a payment link or the dashboard. It starts as pending.
- Status
- Pending
- Event
charge.created
Pix · Products
Create a charge, send the payer to a checkout with the QR code and the copy-and-paste code, and get a webhook when it is paid or expires. The checkout confirms the payment on screen in real time.
Test mode only on this site: every charge is fictional and no money moves.
What the payer sees
Estúdio Jacarandá
Checkout by KrokoPay
Order summary
Visual identity course
Lifetime access · 32 lessons
R$497.00
What your system receives
Step 1 of 4
Created
Your system creates a charge through the API, a payment link or the dashboard. The payer is sent to the checkout.
chg_9Qs5MbT2kXn8VdWebhook event
{
"type": "charge.created",
"data": { "object": {
"id": "chg_9Qs5MbT2kXn8Vd",
"status": "pending"
} }
}Times shown are demo values, not commercial terms.
New to Pix?
Pix is Brazil's instant payment method. The payer opens their bank app, scans a QR code or pastes a code, and confirms. There is no card number, no form to fill in and no redirect to a third-party page.
Your customers know Pix. What changes is your side: one charge object, one checkout and the same webhooks you use for card.
Think of it as a payment request with a deadline. You create it, the payer approves it in their own bank app, and you receive an event. The payer never types sensitive data on your site.
Estúdio Jacarandá
Checkout by KrokoPay
Order summary
Visual identity course
Lifetime access · 32 lessons
R$497.00
Scan the QR code to pay
Open your bank app, choose Pix and scan the code, or copy the code below.
KROKOPAY-DEMO|PIX|chg_9Qs5MbT2kXn8Vd|BRL|49700|NOT-A-REAL-PIX-CODE|F597D6CDQR code
For paying from another device: the payer points the bank app's camera at the screen.
Copy-and-paste code
The same payment as text, for when the payer is already on their phone. One tap copies it.
Expiry countdown
Every Pix charge has a deadline. When it runs out, the code stops working and the charge expires.
Confirmation on screen
As soon as the charge is paid, the checkout turns into a confirmation. The payer does not need to refresh or send a receipt.
States and events
A Pix charge moves through a short, predictable path. Your code reacts to webhook events instead of polling.
You create the charge with the API, a payment link or the dashboard. It starts as pending.
charge.createdThe checkout shows the QR code, the code and the countdown. Nothing to do on your side yet.
The payer confirmed in their bank app. Release the order, the access or the download.
charge.paidor
Nobody paid before the deadline. The code stops working. Create a new charge if the buyer comes back.
charge.expiredRefunds of paid charges are reported with charge.refunded.
curl -X POST https://api.krokopay.app/v1/charges \ -H "Authorization: Bearer kp_test_sk_4f9a2c7e1b8d4a6f9c3e5d7b" \ -H "Idempotency-Key: order_1042" \ -H "Content-Type: application/json" \ -d '{ "amount": 49700, "currency": "BRL", "description": "Curso Identidade Visual do Zero", "customer_id": "cus_8Hq2LmZr4TxN1a", "methods": [ "pix" ] }'{ "id": "evt_6Ff7Gg8Hh9Ii0J", "object": "event", "type": "charge.paid", "api_version": "2026-11-01", "created_at": "2026-11-03T14:23:41.000Z", "data": { "object": { "id": "chg_4Fp9KzW1xQm7Rt", "object": "charge", "amount": 49700, "currency": "BRL", "status": "paid", "method": "pix", "description": "Curso Identidade Visual do Zero", "expires_at": "2026-11-03T14:37:05.000Z", "paid_at": "2026-11-03T14:23:41.000Z" } }}Provisional API contract proposal. These are examples, not an operational endpoint.
How webhooks are signed and retriedIn the dashboard
Each charge appears in Payments with its status, customer and method. Open one to see the events it went through and the webhook deliveries it triggered.
Address: krokopay.app/dashboard/payments
| Description | Method | Status | Amount |
|---|---|---|---|
| Curso Identidade Visual do Zerochg_9Qs5MbT2kXn8Vd | Not chosen yet | Pending | R$497.00 |
| Curso Identidade Visual do Zerochg_7Lc3PvN8yHd2Ws | Visa ending in 0002 | Failed | R$497.00 |
| Curso Identidade Visual do Zerochg_4Fp9KzW1xQm7Rt | Pix | Paid | R$497.00 |
| Clube Jacarandá — Mensalchg_2Rz6TnB4mKw9Pc | Mastercard ending in 5100 | Paid | R$49.00 |
| Pack de Templates — Completochg_8Mx1WqH5dVr3Ls | Pix | Paid | R$149.00 |
charge.created
charge.paid
Short answers, including what is not defined yet.
Still undefined
Shown as “To be announced” until the terms are final.
See pricingCreate an account, create a charge in the demo dashboard and watch it go from pending to paid.
No real payment is made.
