Integration (SDK)
Transfers Connect integration flow
Include the Transfers JS SDK to your project like this:
1
<script src="https://checkout.transfers.africa/lib/lib.bundle.js"></script>
Copied!
Trigger the Connect modal with:
1
const result = await Transfers.connect({
2
userId: "<a unique identifier for your user>"
3
})
Copied!
The data object returned from the connect process:
1
{
2
"data": {
3
"connectUserBank": {
4
"id": "test_userid",
5
"username": "12345678900",
6
"slug": "zenith",
7
"bankLoginConnection": [
8
{
9
"accountNumber": "12345678900",
10
"balance": "17775.85"
11
}
12
]
13
}
14
}
15
}
Copied!
Once a user's bank accounts are linked, they show up on the Connect modal with option to set a default account or add more bank accounts:
Last modified 1mo ago
Copy link