Balance Object

The Balance object represents the current balance of an account, including available and pending funds.

Properties

id
string
required

Unique identifier for the balance record

accountId
string
required

The ID of the account this balance belongs to

available
object
required
current
object
required
refreshedAt
timestamp

The timestamp when the balance was last updated

Endpoints

Retrieve Balance

Retrieves the current balance for an account.

POST /api/services/data/balances/retrieve

Request

accountId
string
required

The ID of the account to get the balance for

Response
{
  "id": "bal_12345",
  "accountId": "acc_12345",
  "available": {
    "amount": 1000000,
    "currency": "GBP"
  },
  "current": {
    "amount": 1250000,
    "currency": "GBP"
  },
  "refreshedAt": "2024-01-27T10:00:00Z",
  "status": "available"
}