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 FawryPay payment through dLocal:- Set up a dLocal integration in your workspace. Follow the dLocal integration setup guide if you don’t have one yet.
- Ask dLocal to enable FawryPay on your dLocal merchant account.
- In the Payrails Portal, go to Settings → Integrations, open your dLocal integration, select FawryPay under Payment methods, and save.
- Add FawryPay as a payment option in your workflow.
Request fields for dLocal
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 FawryPay payment
Call authorize a payment withfawryPay as the paymentMethodCode. The response includes the redirect to the dLocal page.
Authorize request
success or error URL. The payment is still pending at that point. Confirm the result through webhook notifications or the execution status before you fulfill the order.
How dLocal handles FawryPay
- The payment stays pending until the customer pays the reference. dLocal notifies Payrails when the status changes.
- Payrails also checks the payment status with dLocal for up to seven days: every two hours on the first day, then once a day.