Last updated 22 days ago
This endpoint creates a new qrcode with the provided data.
QRCode data
Created
const response = await fetch('//https://sandbox-api.pagou.com.br/v1/pix', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "amount": 0, "description": "text", "expiration": 0, "payer": { "document": "text", "name": "text" } }), }); const data = await response.json();
text
This endpoint creates a new qrcode due with the provided data.
const response = await fetch('//https://sandbox-api.pagou.com.br/v1/pix/due', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "amount": 0, "description": "text", "expiration": 0, "payer": { "document": "text", "name": "text" } }), }); const data = await response.json();