Last updated 4 months ago
This endpoint requests a cancellation for an active qrcode with the provided data.
QRCode ID
DELETE //sandbox-api.pagou.com.br//v1/pix/{qrcodeID} HTTP/1.1 Host: https Accept: */*
No Content
No content
This endpoint return a qrcode.
GET //sandbox-api.pagou.com.br//v1/pix/{qrcodeID} HTTP/1.1 Host: https Accept: */*
OK
text
This endpoint creates a new qrcode with the provided data.
POST //sandbox-api.pagou.com.br//v1/pix HTTP/1.1 Host: https Content-Type: application/json Accept: */* Content-Length: 182 { "amount": 1, "customer_code": "text", "description": "text", "expiration": 1, "metadata": [ { "key": "text", "value": "text" } ], "notification_url": "text", "payer": { "document": "text", "name": "text" } }
Created
This endpoint requests a refund for a qrcode with the provided data.
DELETE //sandbox-api.pagou.com.br//v1/pix/{qrcodeID}/refund HTTP/1.1 Host: https Content-Type: application/json Accept: */* Content-Length: 44 { "amount": 1, "description": "text", "reason": 1 }