Bank Account Verification Integration
Integration Guides
App Drop-in guide
This guide provides step-by-step instructions on how to integrate Bank Account Verification with the App Drop-in.
Before you begin, make sure you have completed the following:
- App Drop-in Setup with your chosen SDK
- App UI Customization
- Bank Account Verification Setup
Flow
Click to magnify.
1. Authenticate
Create an access token to authenticate in our API:
- You provide your Fourthline API credentials.
- You receive an
access_token.
Tutorial: Create access tokenAPI Reference: Create access token
Important
For security, access tokens are valid for 1 hour only.
If your token expires, create a new access token by making another Create access token request.
2. Create workflow
Create a Bank Account Verification workflow:
- You specify the
workflowNameand provide your unique identifier for the client. - You receive a
workflowIdand a FourthlineclientId.
API Reference: Create workflow
Status: The reference payment status changes to
new.
3. Create SDK session
Create the App Drop-in session:
- You provide the
workflowId. - You receive a
validationCodeto pass to the SDK in your backend.
Tutorial: Create App Drop-in SDK sessionAPI Reference: Create SDK session
Important
- SDK validation codes are single-use and expire after 2 hours.
- If the client stops partway through the workflow, create a new SDK session.
- When the client closes the app, the
validationCodeis invalidated and removed from the cache.
Status: The payment status changes to one of the following and we send the relevant webhook notification:
| Status | Description | Action |
|---|---|---|
pending | The reference payment is being processed. | Wait for completed status. |
kyc_required | • The client's Identity Verification case was unsuccessful. or • No IDV case. | Create a new workflow that includes IDV and BAV. |
completed | The reference payment was successfully processed. | — |
failed | The reference payment failed. For the specific reason, check the accompanying status code. | Create a new workflow for BAV only. |
4. Check reference payment status
Check the reference payment status.
Tutorial: Get reference payment statusAPI Reference: Get reference payment status
Updated 2 months ago