Last updated 22 days ago
This endpoint requests a refund for a qrcode with the provided data.
QRCode ID
Refund data
No Content
const response = await fetch('//https://sandbox-api.pagou.com.br/v1/pix/{qrcodeID}/refund', { method: 'DELETE', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "amount": 0, "description": "text", "reason": 0 }), }); const data = await response.json();
{ "error": "text", "errors": [ "text" ] }