We recommend checking out the introductory
section to understand the basics of direct
charge first. This guide assumes you’ve read that.
Adding eNaira to your Account
Before starting your integration, ensure that your Flutterwave account is live and eNaira is enabled. To activate eNaira payments on your account:- Log into your dashboard and navigate to your Settings.
- Select Business Preferences and click on the Payment Methods tab.
- Click on the Enable button next to the eNaira option.
Payment Flow
Charging your customer with eNaira is quite similar to other wallet payments(ApplePay and GooglePay). There are three ways to make a successful eNaira payment.- Redirect
- QR code payments
- Charging with tokens.
Initiating the Payment
When initiating an eNaira payment, You’ll need to collect customer information likeemail, fullname and phone_number. Pass this information along with the transaction amount, currency, transaction reference (tx_ref) and redirect_url in your API request. Your request should be authorized properly before sending it to the charge endpoint.
is_qr or is_token to 1 in your request.
Authorizing the Payment
After initiating the payment, users are expected to authorize the payment for it to be successful using any of the options below:Authorize via Redirect
For default payments, users should be redirected to the URL returned in the initial payment response asmeta.authorization.redirect. Once this is done, the user will be directed to a model and on completion, they are redirected to your success page. A webhook is triggered once the user completes the flow.