Skip to main content
GET
https://api.cloud.blnkfinance.com
/
data
/
balances
/
{balance_id}
curl -X GET "https://api.cloud.blnkfinance.com/data/balances/bln_5ce86029-3c2e-4e2a-aae2-7fb931ca4c4f?instance_id=YOUR_INSTANCE_ID" \
  -H "Authorization: Bearer blnk_at_YOUR_ACCESS_TOKEN"
{
  "balance": 100.50,
  "inflight_balance": 0,
  "credit_balance": 50.25,
  "inflight_credit_balance": 0,
  "debit_balance": 50.25,
  "inflight_debit_balance": 0,
  "ledger_id": "ldg_073f7ffe-9dfd-42ce-aa50-d1dca1788adc",
  "identity_id": "",
  "balance_id": "bln_5ce86029-3c2e-4e2a-aae2-7fb931ca4c4f",
  "currency": "USD",
  "created_at": "2024-11-26T08:36:36.238244338Z",
  "meta_data": null
}
Retrieve details for a specific balance by its ID.
For in-depth information about Blnk’s ledger, balance, transaction, and identity APIs, see the Blnk Core docs.

Request structure

curl -X GET "https://api.cloud.blnkfinance.com/data/balances/bln_5ce86029-3c2e-4e2a-aae2-7fb931ca4c4f?instance_id=YOUR_INSTANCE_ID" \
  -H "Authorization: Bearer blnk_at_YOUR_ACCESS_TOKEN"
balance_id
string
required
Unique identifier of the balance to retrieve.
Authorization
string
required
Bearer token for authentication. Format: Bearer <access_token>. Your OAuth key must include data:read scope (or *).

Query parameters

instance_id
string
required
The Blnk Core instance ID to read from. Find this in Blnk Cloud under Instances.

Response structure

{
  "balance": 100.50,
  "inflight_balance": 0,
  "credit_balance": 50.25,
  "inflight_credit_balance": 0,
  "debit_balance": 50.25,
  "inflight_debit_balance": 0,
  "ledger_id": "ldg_073f7ffe-9dfd-42ce-aa50-d1dca1788adc",
  "identity_id": "",
  "balance_id": "bln_5ce86029-3c2e-4e2a-aae2-7fb931ca4c4f",
  "currency": "USD",
  "created_at": "2024-11-26T08:36:36.238244338Z",
  "meta_data": null
}
balance_id
string
required
Unique identifier for the balance.
ledger_id
string
required
ID of the ledger this balance belongs to.
currency
string
required
Currency code for the balance.
balance
number
required
Current balance amount.
inflight_balance
number
required
Balance amount for in-flight transactions.
credit_balance
number
required
Total credit balance.
debit_balance
number
required
Total debit balance.
inflight_credit_balance
number
required
In-flight credit balance.
inflight_debit_balance
number
required
In-flight debit balance.
identity_id
string
ID of the identity associated with this balance, if any.
created_at
timestamp
required
ISO 8601 formatted timestamp of when the balance was created.
meta_data
object
Metadata object attached to the balance, if any.

For filters and supported fields, see the Data API docs.

Need help?

If you’re having trouble with Blnk Cloud, don’t hesitate to send us a message via email at [email protected] or send us a message here.