Get QR Code for Pix payments

Payment via Pix is ​​a fast, effective and secure way for your company to receive payments from its customers. When generating a payment using the payment methods PIX, BOLETO or UNDEFINED, payment via Pix is ​​enabled. One of the biggest advantages of this payment method is that it occurs instantly, that is, as soon as the payment is made, the balance is available in your Asaas account. You can read more about Pix here.


To generate a Pix QRCode in Asaas, you need to create a key, which is done through Create a Pix key.

Features:

  • The generated QRCode is dynamic and expires.
  • The QRCode expires 12 months after the expiration date.
  • It can be printed or made available on documents, as the values ​​are consulted when the QRCode is read. For example: print on a payment slip or receipt.
  • It can only be paid once.

🚧

Attention

It is currently possible to generate a dynamic Pix QR Code for immediate payment without having a Pix key registered with Asaas. This QR Code will be linked to a partner institution where Asaas has a registered key. Any QR Code obtained in this way can be paid until 11:59 p.m. on the same day. Each time your billing is updated, you must obtain a new QR Code. However, this functionality will be discontinued in the future, and a notice will be sent 30 days in advance. Therefore, we recommend registering your Pix key at Create a Pix key.

To generate/retrieve a QR Code for a bill, you must enter the bill ID that Asaas returned at the time of creation. In return, you will get the QR Code (returned in an image in Base 64 format), a Payload to allow Pix Copy and Paste and until when the QR Code will be valid.

Language
Credentials
Header
Click Try It! to start a request and see the response here!