PayZuPayZu Docs

Tutorials

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

ItemConvention
Token$TOKEN variable or process.env.PAYZU_TOKEN
Base URLhttps://api.payzu.processamento.com/v1
Content-Typeapplication/json (required on every call)
AmountsIn reais (BRL), never cents
Languagescurl, Node.js, Python, Go, PHP

On this page