Retrieves the Pix QR Code of a payment by ID.
Use this operation to get the QR Code image in Base64, the Pix Copy and Paste code and the expiration date associated with the payment. The QR Code is dynamic, has an expiration date and can be paid only once.
The operation is compatible with PIX, BOLETO and UNDEFINED payments when Pix is available as a payment method.
In the regular flow with a registered Pix key, the QR Code expires 12 months after the payment due date.
Payments without a Pix keyCurrently, it is still possible to get a dynamic Pix QR Code without a Pix key registered in Asaas. In this scenario, the QR Code is linked to a partner institution and can be paid until
23:59on the same day.If the payment is updated, get a new QR Code.
This behavior is transitional and will be discontinued in the future. For the regular flow, keep a Pix key registered in the account.
Related content
Guides
403Forbidden. Occurs when the request body is filled, GET method calls must have an empty body.
404Not found
