This payment method only supports one-time (non-recurring) payments. It is available for BRL transactions to customers in Brazil.
Payment flow
Several steps occur between creating the order and completing the PIX charge.- Create an order, setting the customer’s CPF/CNPJ as their mobile number.
- Encrypt and send the pay order request.
- Redirect the customer to complete the PIX payment.
- Confirm the payment and inform the customer of its outcome.
Creating the Order
Follow the standard create order flow. For PIX, set the customer’smobile field to their CPF or CNPJ (Brazil’s individual/business taxpayer ID) — this is what we forward to PIX as the transaction’s document number.
Need to charge a different document number than the one on the order? Pass
apm.documentNumber in the pay order request below to override it for this transaction only.Initiating the Payment
Encrypt the order reference andpaymentoption before sending it to the pay order endpoint.
200 OK
Completing the Payment
Redirect the customer topaymentDetail.redirectUrl. This takes them to our hosted PIX payment page, where we render the QR code (and a copy-paste “PIX copia e cola” code) and monitor the payment for you. The customer completes the transfer from their own banking app, and we’ll notify you once it’s confirmed.
Verifying the Payment
Read the transaction verification section to learn how to verify your PIX transactions.
Testing your integration
Follow these guidelines to successfully test your PIX integration:- Use a BRL order currency — PIX is only available for BRL transactions.
- Set the customer’s
mobilefield to a valid-format CPF (e.g.241.390.720-32) or CNPJ when creating the order. - Set
customer.countrytoBR.

