Supported workflows
Before you begin
Complete these steps before you send your first 1Voucher 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.
- In the Flutterwave dashboard, go to Settings → Business Preferences → Payment Methods and enable 1Voucher.
- In the Payrails Portal, go to Settings → Integrations, open your Flutterwave integration, select 1Voucher under Payment methods, and save.
- Add 1Voucher 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. Required fields must be present for the payment to succeed. Payrails sends Optional fields to the PSP when you include them.Authorize a 1Voucher payment
Call authorize a payment with1voucher as the paymentMethodCode. The response includes the redirect to the Flutterwave payment page.
Authorize request
success or error URL. Confirm the result through webhook notifications or the execution status before you fulfill the order.
How Flutterwave handles 1Voucher
- Payrails sends the payment to the Flutterwave hosted payment page with 1Voucher as the only payment option.
- When the customer returns, Payrails fetches the transaction from Flutterwave to confirm the result. Flutterwave also notifies Payrails of the final result.
- To return funds after a successful payment, refund it. Flutterwave supports full and partial refunds.