PIX_QR

PixQrPayload

Payment Method Identifier

PIX_QR

Description

This method allows you to accept Pix QR payments in Brazil. Pix is the instant payment system regulated by the Brazilian Central Bank. Customers scan a dynamically generated QR code using any Pix-enabled banking or payment app to complete the transfer instantly.

Currency Support

BRL only (Brazilian Real)

✅ Required Request Fields

Top-Level Fields

FieldTypeDescription
callbackUrlStringURL to receive transaction status updates
successRedirectUrlStringURL to redirect the customer after successful payment
failureRedirectUrlStringURL to redirect the customer after failed payment

Billing Details (ApmBillingDetails)

FieldTypeDescription
firstNameStringCustomer's first name
lastNameStringCustomer's last name
address1StringFirst line of the billing address
cityStringCity of the billing address
countryStringCountry code in ISO Alpha-2 format
postalCodeStringPostal/ZIP code
phoneStringCustomer's phone number
emailStringCustomer's email address

Device Information (Device)

FieldTypeDescription
ipStringCustomer's IP address

Payload Structure

{
  "paymentMethod": "PIX_QR",
  "paymentType": "E_WALLET"
}

Fields

FieldTypeRequiredDescription
paymentMethodEnumYesMust be "PIX_QR"
paymentTypeEnumYesMust be "E_WALLET"

No additional fields are required. All necessary user interaction is handled within the customer's Pix-enabled banking or payment app.

Expected apmResponseData (PixQrResponseData)

{
  "paymentMethod": "PIX_QR",
  "paymentType": "E_WALLET",
  "redirectUrl": null,
  "iframeUrl": null,
  "providerTransactionId": "payment-code-external-id",
  "actionType": "QR",
  "qrData": "data:image/png;base64,iVBORw0KGgoAAAA...CYII=",
  "qrDeepLink": "https://transfer-gateway.example.com/v1/notification/transfer"
}

Response Fields

FieldTypeDescription
paymentMethodEnum"PIX_QR"
paymentTypeEnum"E_WALLET"
redirectUrlString (nullable)Always null for PIX_QR
iframeUrlString (nullable)Always null for PIX_QR
providerTransactionIdString (nullable)Transaction ID from the payment provider
actionTypeStringAlways "QR"
qrDataString (nullable)QR code image encoded as a base64 data URI (data:image/png;base64,...). Can be used directly in an <img> tag: <img src="$qrData" width="200" height="200" alt="QR Code">
qrDeepLinkString (nullable)Deep link URL that can be opened on a mobile device to forward the customer to their Pix-enabled app. May be null if not returned by the provider.