Supported workflows
Before you begin
Complete these steps before you send your first FawryPay payment through Flutterwave:- Set up a Flutterwave integration in your workspace. Contact your Payrails account team if Flutterwave isn’t listed in your Payrails Portal yet.
- Enable FawryPay in your Flutterwave dashboard under Settings → Business Preferences → Payment Methods.
- In the Payrails Portal, go to Settings → Integrations, open your Flutterwave integration, select FawryPay under Payment methods, and save.
- Add FawryPay as a payment option in your workflow.
Request fields for Flutterwave
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 FawryPay payment
Call authorize a payment withfawryPay as the paymentMethodCode. The response includes the redirect to the Flutterwave payment 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 Flutterwave handles FawryPay
- The payment stays pending until the customer pays the reference. Flutterwave notifies Payrails when the customer pays.
- Refunds aren’t available for FawryPay payments through Flutterwave. Payrails returns an error for a refund request.
- Cancel isn’t available for FawryPay payments through Flutterwave. Flutterwave supports cancel only for card payments.