GET
/
v1
/
accounts
/
{accountId}
/
balance
curl --request GET \
  --url https://api.nomba.com/v1/accounts/{accountId}/balance \
  --header 'Authorization: Bearer <token>' \
  --header 'accountId: <accountid>'
{
  "code": "00",
  "data": {
    "amount": "281946.0",
    "currency": "NGN",
    "timeCreated": "2023-08-30T14:56:59.000Z"
  },
  "description": "Success"
}

Authorizations

Authorization
string
headerrequired

Nomba authenticates API calls with OAuth2 HTTP bearer tokens. There are two methods of authentication; Client-Credentials method and PKCE (Proof Key for Code Exchange) method. In each of the methods, You will get an ACCESS_TOKEN. You need to use an "Authorization" HTTP header to provide your ACCESS_TOKEN. For example: Authorization: {ACCESS_TOKEN}.

Headers

accountId
string
required

The parent accountId of the business.

Path Parameters

accountId
string
required

The account whose balance is to be fetched.

Response

200 - application/json
code
string
required

Response Code

data
object
required
description
string
required

Response description