Skip to content

Balances

Retrieve balance classifications and live amounts held for payouts and refunds.

The Balances API reports how funds are classified and how much is currently committed to payout or refund operations. Use it to power finance dashboards, plan payouts, and reconcile the funds collected through Inttegro.

The four root amount fields come from the latest completed transaction snapshot. balances.ghs.held is a live overlay showing funds committed to in-flight or unresolved payouts and refunds. It is not a fifth balance bucket.

The balance object

Balances are grouped by currency. Every amount is an integer in that currency’s smallest unit, such as pesewas for GHS.

balances.ghs.available, balances.ghs.pending, balances.ghs.refund, and balances.ghs.reserved classify funds at the transaction snapshot cutoff. balances.ghs.held separately reports live operational commitments.

Properties

TypeScript SDK responseBalanceSnapshotv15.0.0
  • #ghsBalanceBreakdownLatest GHS snapshot. Amounts are expressed in pesewas.Click or tap to expand
    • #availableBalanceAmount
      View available attributesClick or tap to expand
      Funds classified as available by the latest completed transaction snapshot.
      • #amountnumber
        Available amount in minor units (pesewas for GHS).
    • #heldRecord<string, unknown>
      View held attributesClick or tap to expand
      Live operational commitments against the balance. Do not add this object to the four snapshot buckets.
      • #asOfDate
        Time at which Inttegro successfully read the hold amounts. This is not the last time a hold changed.
      • #payoutRecord<string, unknown>
        View payout attributesClick or tap to expand
        Funds committed to in-flight or unresolved payouts.
        • #amountnumber
          Amount currently held for payouts, in pesewas.
      • #refundRecord<string, unknown>
        View refund attributesClick or tap to expand
        Funds committed to in-flight or unresolved refunds.
        • #amountnumber
          Amount currently held for refunds, in pesewas.
    • #includesTransactionsBeforeDate
      Transaction cutoff for the snapshot classifications. Transactions created before this time are included; transactions at or after it are not.
    • #pendingBalanceAmount
      View pending attributesClick or tap to expand
      Funds recognized by the snapshot but not yet available, usually because they are still aging.
    • #refundBalanceAmount
      View refund attributesClick or tap to expand
      Funds intentionally earmarked for future refund obligations at the snapshot cutoff.
    • #reservedBalanceAmount
      View reserved attributesClick or tap to expand
      Funds intentionally reserved for policy, risk, or remediation purposes at the snapshot cutoff.

Retrieve your balance POST /balances

Retrieve the latest GHS balance classifications and current operational holds. Read balances.ghs.held.payout.amount to see how much is committed to payouts and balances.ghs.held.refund.amount to see how much is committed to refunds.

A new account with no completed balance activity returns zero amounts. The response still includes both freshness timestamps.

Request body

Send an empty JSON object. No balance ID or other request attributes are needed.

Request

POST/balances
cURLbash
curl https://api.inttegro.com/balances \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
TypeScripttypescript
import { InttegroClient } from '@inttegro/inttegro-sdk'

const inttegro = new InttegroClient({
  apiKey: process.env.INTTEGRO_API_KEY!,
})

const result = await inttegro.balances.get()
Gogo
package main

import (
  "context"
  "log"
  "os"

  inttegro "github.com/inttegro/inttegro-sdk-go/v14"
)

func main() {
  ctx := context.Background()
  client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))

  result, err := client.Balances.Get(ctx)
  if err != nil {
    log.Fatal(err)
  }
  _ = result
}
Pythonpython
import os

from inttegro import InttegroClient

client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])

result = client.balances.get()
PHPphp
<?php

use Inttegro\Client;

$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->balances->get();
Rubyruby
require "inttegro"

client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.balances.get
Javajava
import com.inttegro.Client;

public class Example {
  public static void main(String[] args) throws Exception {
    var client = new Client(System.getenv("INTTEGRO_API_KEY"));
    var result = client.balances().get();
  }
}
C#csharp
using Inttegro;

using var inttegro = new InttegroClient(
    Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Balances.GetAsync();
Responsejson
{
  "balances": {
    "ghs": {
      "available": {
        "amount": 145000
      },
      "held": {
        "as_of": "2026-10-04T14:30:00.000Z",
        "payout": {
          "amount": 20000
        },
        "refund": {
          "amount": 3000
        }
      },
      "includes_transactions_before": "2024-12-24T14:00:00.000Z",
      "pending": {
        "amount": 32000
      },
      "refund": {
        "amount": 0
      },
      "reserved": {
        "amount": 0
      }
    }
  }
}

Type to search…

↑↓ navigate↵ selectEsc close