Skip to main content
The React SDK helps you create seamless payment experiences in your React mobile or web app. By connecting to our modal, you can start collecting payment in no time. Available features include:
  • Collections: Card, Account, Mobile money, Bank Transfers, USSD, Barter, NQR.
  • Recurring payments: Tokenization and Subscriptions.
  • Split payments

Requirements

  1. Flutterwave version 3 API keys
  2. Node version >= 6.9.x and npm >= 3.x.x
  3. React version >= 14

Installation

Install the SDK

Initialization

Import useFlutterwave to any component in your application and pass your config

Usage

Add Flutterwave to your projects as a component or a react hook:
  1. As a Component
  2. Directly in your code
  3. Making recurrent payments

Components

Hooks

Recurring Payments

Pass the payment plan ID into your payload to make recurring payments.

Parameters

Read more about our parameters and how they can be used here.

Other methods and descriptions:

Methods provided by the React SDK: Please checkout Flutterwave Documentation for other available options you can add to the tag.

Debugging Errors

We understand that you may run into some errors while integrating our library. You can read more about our error messages here. For authorization and validation error responses, double-check your API keys and request. If you get a server error, kindly engage the team for support.

Support

For additional assistance using this library, please create an issue on the Github repo or contact the developer experience (DX) team via email or on slack. You can also follow us @FlutterwaveEng and let us know what you think 😊.