👩‍💻
Transfers API Documentation
  • Transfers Checkout
  • Transfers Connect
    • Overview
    • Integration (SDK)
  • Connect API
    • GraphQL: Endpoints and Schema
    • Authentication
    • Customer Verification
    • Initiate Transfer Request
    • Get Transaction
    • Get Transactions
    • Fetch BVN
    • Fetch All Connections
    • Bank Statement
  • Webhooks
    • Webhook Confirmation
Powered by GitBook
On this page

Was this helpful?

  1. Transfers Connect

Integration (SDK)

Transfers Connect integration flow

Include the Transfers JS SDK to your project like this:

<script src="https://checkout.transfers.africa/lib/lib.bundle.js"></script>

Trigger the Connect modal with:

const result = await Transfers.connect({
    userId: "<a unique identifier for your user>"
})

The data object returned from the connect process:

{
  "data": {
    "connectUserBank": {
      "id": "test_userid",
      "username": "12345678900",
      "slug": "zenith",
      "bankLoginConnection": [
        {
          "accountNumber": "12345678900",
          "balance": "17775.85"
        }
      ]
    }
  }
}

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:

PreviousOverviewNextGraphQL: Endpoints and Schema

Last updated 3 years ago

Was this helpful?