Skip to main content
PFM Stack provides an Embedded React Native SDK that allows you to integrate a Personal Finance Management experience into your mobile application with minimal effort. With just a few lines of code, you can enable users to aggregate all their financial data in one place using the Account Aggregator framework.

Step-by-Step Integration

STEP 1: Initialization of SDK API

When a consumer wants to open PFM, your backend service must trigger the initialization of SDK API. Follow the SDK Init API guide to integrate with the API in your backend server.

STEP 2: Adding React Native SDK as dependency

Add the following dependency to your package.json. Run npm install to install the dependency.
Install the peer dependency react-native-webview if not already in your project:
For iOS, install CocoaPods:

Step 3: Launch PFM SDK

Once the Initialize API is invoked and you have session_token, the PFM SDK can be opened from client using the below procedure. In your Component (Or any of your React Native Component) use the below snippet to launch Equal SDK.

Important Code for integration

SDK Parameters

SDK Callback Methods

The PFMWebView component accepts the following callback methods: onError: this is Invoked by SDK when
  • There are failures in opening the UI
  • Session Timeout.
onClosed: Invoked when the SDK is closed by the user.