Introduction - Pix
Receive payments via Pix
The Asaas API lets you receive Pix payments through payments, Pix keys, or static QR Codes.
By the end of this guide, you will know which Pix receiving methods are available and how to create a Pix key through the API.
Choose how to receive via Pix
There are three ways to receive payments via Pix:
- Create a payment with the Pix payment method and get the dynamic QR Code after creation;
- Register a Pix key and share it with the customer;
- Create a static QR Code.
When a payment is received via Pix key or static QR Code, a customer and a payment are automatically created to record the payment in the account.
To send money via Pix, see the transfers section.
Before you start
Register a Pix key in the account before receiving payments or transfers via Pix.
Pix key creation will only be available after the account is 100% approved and the liveness check has been completed.
Register a Pix key in the accountWithout a registered Pix key, Asaas needs to generate a temporary key to process the receipt, which may increase processing time.
To avoid this delay, keep a Pix key registered in the account.
Create a Pix key
Through the API, you can only create random keys (EVP).
The limits are:
- 5 keys for individuals;
- 20 keys for legal entities.
POST /v3/pix/addressKeys{
"type": "EVP"
}See the endpoint: Create a key.
Due to Central Bank limitations, wait 1 minute between creating each key.
The key limits per account are also defined by the Central Bank.
Next steps
Updated 15 days ago
