FiskilFiskilFiskil DocsFiskil Docs
Log InSign Up
GuidesAPI ReferenceChangelog

Mobile menu

HomeFiskilFiskil
Log InSign Up
Introduction

Getting Started

AuthenticationErrorsPagination

CORE RESOURCES

Linking Accounts

BANKING API

ENERGY API

IDENTITY

Balance

Get bank account balances from the Fiskil API.

AI Actions

The Balance endpoint allows you to retrieve the current balance information for an end user's bank accounts.

Endpoints

MethodEndpointDescription
GET/v1/balancesGet balances for an end user's accounts

The Balance Model

AttributeTypeDescription
account_idstringID of the account
current_balancenumberCurrent balance of the account
available_balancenumberAvailable balance (may differ from current)
credit_limitnumberCredit limit (for credit accounts)
currencystringCurrency code (e.g., AUD)
as_ofstringTimestamp when the balance was last updated

Example Response

{
  "account_id": "acc_123456789",
  "current_balance": 5432.10,
  "available_balance": 5432.10,
  "credit_limit": null,
  "currency": "AUD",
  "as_of": "2023-01-15T10:30:00Z"
}

Get Balances

Retrieve balance information for an end user's accounts.

GET https://api.fiskil.com/v1/balances

Query Parameters

ParameterTypeRequiredDescription
end_user_idstringYesThe ID of the end user
account_idstringNoFilter by specific account ID
institution_idstringNoFilter by institution ID

Example Request

curl --request GET \
  --url 'https://api.fiskil.com/v1/balances?end_user_id=482c0e2b-5866-46b1-b795-220b7bba45b5' \
  --header 'Authorization: Bearer {access_token}' \
  --header 'accept: application/json; charset=UTF-8'
const response = await fetch(
  'https://api.fiskil.com/v1/balances?end_user_id=482c0e2b-5866-46b1-b795-220b7bba45b5',
  {
    method: 'GET',
    headers: {
      'Authorization': 'Bearer {access_token}',
      'accept': 'application/json; charset=UTF-8'
    }
  }
);

const balances = await response.json();
import requests

response = requests.get(
    'https://api.fiskil.com/v1/balances',
    params={'end_user_id': '482c0e2b-5866-46b1-b795-220b7bba45b5'},
    headers={
        'Authorization': 'Bearer {access_token}',
        'accept': 'application/json; charset=UTF-8'
    }
)

balances = response.json()

Example Response

{
  "data": [
    {
      "account_id": "acc_123456789",
      "current_balance": 5432.10,
      "available_balance": 5432.10,
      "credit_limit": null,
      "currency": "AUD",
      "as_of": "2023-01-15T10:30:00Z"
    },
    {
      "account_id": "acc_987654321",
      "current_balance": 12500.00,
      "available_balance": 12500.00,
      "credit_limit": null,
      "currency": "AUD",
      "as_of": "2023-01-15T10:30:00Z"
    },
    {
      "account_id": "acc_credit_001",
      "current_balance": -1250.50,
      "available_balance": 3749.50,
      "credit_limit": 5000.00,
      "currency": "AUD",
      "as_of": "2023-01-15T10:30:00Z"
    }
  ]
}

Understanding Balances

Current vs Available Balance

  • Current Balance: The actual balance on the account, including pending transactions
  • Available Balance: The amount actually available to spend, which may be less than the current balance due to holds or pending transactions

Credit Accounts

For credit cards and other credit accounts:

  • Current Balance: Amount owed (typically shown as negative)
  • Available Balance: Remaining credit available
  • Credit Limit: Maximum credit extended on the account

Related Endpoints

  • Accounts - Get account details
  • Transactions - Get transaction history

Was this page helpful?

AuthenticationBilling

On this page

EndpointsThe Balance ModelExample ResponseGet BalancesQuery ParametersExample RequestExample ResponseUnderstanding BalancesCurrent vs Available BalanceCredit AccountsRelated Endpoints