Create static QRCode

Creates a static Pix QR Code linked to the provided key.

If value is not provided, the payer can set the amount at the time of payment. When allowsMultiplePayments is omitted, the QR Code accepts multiple payments by default.

If no expiration is configured, the QR Code does not expire automatically.

📘

Receiving through the QR Code

Creating the QR Code does not create a payment in advance or define the payer.

When a payment is received, Asaas automatically creates a payment. Use the payment Webhooks and the pixQrCodeId field to identify the static QR Code that originated the receipt.

See the payment events.

Related content

Guides

Webhooks

Body Params
string

Key that will receive QrCode payments

string

QrCode Description

number

Value of the QrCode, if not informed, the payer can choose the value

string
enum

QrCode Format

Allowed:
date-time

QrCode expiration date/time, after this date all payments will be refused.

int32

Determines the expiration date in seconds.

boolean

Defines whether the QrCode can be paid multiple times, if not entered the default value is true.

string
length ≤ 100

Free search field

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json