Fetch All Connections

You can retrieve all linked bank accounts information for a user with the fetchAllConnections query. The id parameter is the unique identifier of the user on the client's end.

Query

query {
fetchAllConnections(id:"dev001") {
    id
    username
    slug
    defaultAccount
    accountNumber
    balance
  }
}

Response :

{
  "data": {
    "currentConnections": [
      {
        "id": "dev001",
        "username": "1234567890",
        "slug": "gtbank",
        "defaultAccount": false,
        "accountNumber": "0123456789",
        "balance": "143.03"
      }
    ]
  }
}

Request Parameters

Response

Last updated