PayZuDocs
Tutorials

Step-by-step walkthroughs of the flows you actually ship, from taking a simple Pix payment to answering a MED dispute, with copy-paste code in curl, Node, Python, Go and PHP.

Isolated endpoints are tools. Tutorials show how to combine them into real flows. Each one comes with ready-to-copy code.

By use case

What each one covers

TutorialMain endpointsWhen to follow
Receive PixPOST /pix, GET /pix, callback COMPLETEDOnline store, gateway, subscription billing.
Send PixGET /pix/key, POST /withdraw, POST /withdraw/qrcodePay supplier, transfer to user, marketplace payout.
Internal transferPOST /internal-transfer, GET /internal-transferMove balance between PayZu accounts without touching Pix.
ReconciliationGET /user/transactions, POST /user/reportDaily cash closing, audit, BI.
Infractions (MED)GET /user/infractions, POST .../defensesWhen you receive a webhook with an open infraction.

Flows covered

Conventions in the examples

The examples use the $TOKEN variable for the Bearer token and ship code in curl, Node, Python, Go and PHP; the remaining call conventions (base URL, Content-Type, amounts in reais) live in a single table in Concepts.

On this page