Skip to main content
API Reference
Cards
IntraFi Balances

When using IntraFi, each account’s balance over the standard FDIC insurance amount is swept to various other institutions. Funds are rebalanced across banks as needed once per business day.

The IntraFi Balance object
{
  "balances": [
    {
      "balance": 1750,
      "bank": "Example Bank",
      "bank_location": {
        "city": "New York",
        "state": "NY"
      },
      "fdic_certificate_number": "314159"
    }
  ],
  "currency": "USD",
  "effective_date": "2020-01-31",
  "total_balance": 1750,
  "type": "intrafi_balance"
}
Attributes
balances
array

Each entry represents a balance held at a different bank. IntraFi separates the total balance across many participating banks in the network.

currency
enum

The ISO 4217 code for the account currency.

effective_date
string

The date this balance reflects.

total_balance
integer

The total balance, in minor units of currency. Increase reports this balance to IntraFi daily.

type
string

A constant representing the object’s type. For this resource it will always be intrafi_balance.

Get IntraFi balance

Returns the IntraFi balance for the given account. IntraFi may sweep funds to multiple banks. This endpoint will include both the total balance and the amount swept to each institution.

curl \
  --url "${INCREASE_URL}/accounts/account_in71c4amph0vgo2qllky/intrafi_balance" \
  -H "Authorization: Bearer ${INCREASE_API_KEY}"
import Increase from 'increase';

const client = new Increase({
  apiKey: process.env['INCREASE_API_KEY'], // This is the default and can be omitted
});

const intrafiBalance = await client.intrafiBalances.intrafiBalance('account_in71c4amph0vgo2qllky');

console.log(intrafiBalance.balances);
import os
from increase import Increase

client = Increase(
    api_key=os.environ.get("INCREASE_API_KEY"),  # This is the default and can be omitted
)
intrafi_balance = client.intrafi_balances.intrafi_balance(
    "account_in71c4amph0vgo2qllky",
)
print(intrafi_balance.balances)
require "increase"

increase = Increase::Client.new(
  api_key: ENV["INCREASE_API_KEY"] # This is the default and can be omitted
)

intrafi_balance = increase.intrafi_balances.intrafi_balance("account_in71c4amph0vgo2qllky")

puts(intrafi_balance)
package main

import (
	"context"
	"fmt"
	"os"

	"github.com/Increase/increase-go"
	"github.com/Increase/increase-go/option"
)

func main() {
	client := increase.NewClient(
		option.WithAPIKey(os.Getenv("INCREASE_API_KEY")), // This is the default and can be omitted
	)
	intrafiBalance, err := client.IntrafiBalances.IntrafiBalance(context.TODO(), "account_in71c4amph0vgo2qllky")
	if err != nil {
		panic(err.Error())
	}
	fmt.Printf("%+v\n", intrafiBalance.Balances)
}
package com.increase.api.example;

import com.increase.api.client.IncreaseClient;
import com.increase.api.client.okhttp.IncreaseOkHttpClient;
import com.increase.api.models.intrafibalances.IntrafiBalance;
import com.increase.api.models.intrafibalances.IntrafiBalanceIntrafiBalanceParams;

public final class Main {
    private Main() {}

    public static void main(String[] args) {
        IncreaseClient client = IncreaseOkHttpClient.fromEnv();

        IntrafiBalance intrafiBalance = client.intrafiBalances().intrafiBalance("account_in71c4amph0vgo2qllky");
    }
}
package com.increase.api.example

import com.increase.api.client.IncreaseClient
import com.increase.api.client.okhttp.IncreaseOkHttpClient
import com.increase.api.models.intrafibalances.IntrafiBalance
import com.increase.api.models.intrafibalances.IntrafiBalanceIntrafiBalanceParams

fun main() {
    val client: IncreaseClient = IncreaseOkHttpClient.fromEnv()

    val intrafiBalance: IntrafiBalance = client.intrafiBalances().intrafiBalance("account_in71c4amph0vgo2qllky")
}
<?php

require_once dirname(__DIR__) . '/vendor/autoload.php';

use Increase\Client;
use Increase\Core\Exceptions\APIException;

$client = new Client(apiKey: getenv('INCREASE_API_KEY'));

try {
  $intrafiBalance = $client->intrafiBalances->intrafiBalance(
    'account_in71c4amph0vgo2qllky'
  );

  var_dump($intrafiBalance);
} catch (APIException $e) {
  echo $e->getMessage();
}
using System;
using Increase.Api;
using Increase.Api.Models.IntrafiBalances;

IncreaseClient client = new();

IntrafiBalanceIntrafiBalanceParams parameters = new()
{
    AccountID = "account_in71c4amph0vgo2qllky"
};

var intrafiBalance = await client.IntrafiBalances.IntrafiBalance(parameters);

Console.WriteLine(intrafiBalance);
Parameters
account_id
string
Required

The identifier of the Account to get balances for.

More about Accounts.