Get Connected Accounts

List connected accounts

List of connected accounts can be seen via dashboard and available via API for larger integrations. If you accessing connected accounts via your business dashboard, simply go to connect and select the connected account tab.

Terminologies for connected businesses

  • limit: This refers to the number of paginated data you want to be returned

  • Page: This refers to the particular pagination you want to returned.

Get Connected accounts

Connected accounts can either be created via your business/merchant dashboard or directly via create account endpoint.

Create a Connected Accounts

GET https://api2.ourpass.co/v1/api/subaccounts/partial

This endpoint help businesses to create connected accounts

Headers

Name
Type
Description

apiKey*

String

Pass your api key in the request header to authorise the call

{
    "success": true,
    "message": "Successfully gotten your SubAccount",
    "data": [
        {
            "id": 1296,
            "accountId": 52,
            "subAccountEmail": "tobitom601@royins.com",
            "type": "subaccount",
            "authorizationKeys": "auth_live_VPEC6b6Ep2QGq0kepUUfEtw6VyVuU5y3",
            "txPercentage": 10,
            "txCap": 1000,
            "enabled": true,
            "businessId": 155,
            "walletUserMobile": "2348112705999",
            "account": {
                "bankName": "ACCESS BANK",
                "accountNumber": "0073559141",
                "bankCode": "000001",
                "currency": "NGN",
                "name": "OLALEKAN ADEWALE",
                "walletType": "user"
            }
        },
        {
            "id": 1297,
            "accountId": 53,
            "subAccountEmail": "tosin@royins.com",
            "type": "subaccount",
            "authorizationKeys": "auth_live_VPEC6b6Ep2QGq0kepUUfEtw6VyVuU5y3",
            "txPercentage": 10,
            "txCap": 1000,
            "enabled": true,
            "businessId": 155,
            "walletUserMobile": "2348112705990",
            "account": {
                "bankName": "ZENITH BANK",
                "accountNumber": "0073559142",
                "bankCode": "000011",
                "currency": "NGN",
                "name": "OLALEKAN JESSE",
                "walletType": "user"
            }
        },
    ]
}
curl --location --request GET 'https://api2.ourpass.co/v1/api/subaccounts?page=1&limit=24'

Last updated