Supported workflows
Before you begin
Complete these steps before you send your first Pix payment through Adyen:- Set up an Adyen integration in your workspace. Follow the Adyen integration setup guide if you don’t have one yet.
- Ask Adyen to enable Pix on your Adyen merchant account.
- In the Payrails Portal, go to Settings → Integrations, open your Adyen integration, select Pix under Payment methods, and save.
- Add Pix as a payment option in your workflow.
Request fields for Adyen
Send these fields in the authorize request, in addition to the standard authorize fields. Payrails checks Required fields and returns an error when one is missing. Fields required by the PSP pass the Payrails checks but the PSP can decline the payment without them.Authorize a Pix payment
Call authorize a payment withpix as the paymentMethodCode. The response includes the redirect to the QR code page.
Authorize request
How Adyen handles Pix
- Adyen returns the Pix QR code, and Payrails turns it into a redirect to a Payrails-hosted page that shows the code to the customer.
- The payment stays pending until the customer pays. Payrails completes it when Adyen sends the authorization notification.
- Adyen captures Pix payments automatically. When Adyen confirms the authorization, Payrails also records the capture, so the payment completes in one step.
- Adyen doesn’t support canceling a Pix payment. Refund a completed payment instead.