Supported workflows
| Workflow | Supported |
|---|---|
| Payrails SDK | ✔ |
| Payrails API | ✔ |
| Delayed / Manual Capture | ✖ |
| Instant Capture | ✔ |
| Cancel / Void | ✖ |
| Refund / Reverse | ✔ |
| Save Instruments | ✖ |
| Merchant Initiated Transaction (MIT) | ✖ |
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. Required fields must be present for the payment to succeed. Payrails sends Optional fields to the PSP when you include 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.
- To return funds, refund a completed Pix payment.