GuidesAPI ReferenceRelease Notes
Log In
API Reference

Balances

Implement Ozone Connect balance endpoints for CDR data sharing, including request handling, pagination and response mapping guidance.

Use the Balances APIs to return current and available balances, credit limits and currency purses (balances held in individual currencies) for accounts covered by the consumer's consent under the Consumer Data Right (CDR).

This page explains which endpoints you implement and how Ozone handles requests. Use the endpoint references for parameters, required headers and response schemas, and the Balances response mapping for field requirements and conversions.

Ozone Connect endpoints

Your organisation implements the following Ozone Connect (OC) endpoints for Ozone to call.

OC endpointMethod and pathRequirementPurpose
Get Bulk BalancesGET /balancesMandatoryReturn balances for the supplied account IDs. Used for CDR Get Bulk Balances and Get Balances For Specific Accounts.
Get Account BalanceGET /accounts/{accountId}/balancesMandatoryReturn balances for a single account. Used for CDR Get Account Balance.
🔴

Implement both endpoints. Balances have no fallback: Ozone always uses GET /balances for multi-account requests and GET /accounts/{accountId}/balances for single-account requests.

When an accredited data recipient (ADR) requests balances for a single account, Ozone calls your individual Ozone Connect endpoint. It does not fall back to the bulk endpoint.

CDR endpoint support

Ozone uses your Ozone Connect responses to serve the following CDR endpoints.

CDR endpointMethod and pathSupported endpoint versions
Get Bulk BalancesGET /banking/accounts/balancesV1–V2
Get Account BalanceGET /banking/accounts/{accountId}/balanceV1

CDR endpoint versions are separate from the CDR standard version and the Ozone platform release version.

Request handling

For GET /balances, accountIds contains the internal account identifiers selected by Ozone for this request. The request may include only some of the accounts covered by the consumer's consent. Return all applicable balance records for the supplied account identifiers.

  • Ozone applies the product-category, open-status and is-owned filters when selecting accounts for the request. Ozone does not pass these filters to the bulk balance endpoint in this CDR flow.
  • If balanceType is specified, return only that balance type. If it isn't, you can return more than one balance record per account – one for each balance type.
  • Ozone does not pass page and page-size to the bulk balance endpoint in this flow. Return the balances for all supplied account IDs. Ozone divides the result into pages by account, keeping all balance records for each included account together.
  • If you cannot retrieve balances for some requested accounts, return the balances you can retrieve.
  • If you find no balances, return HTTP 200 with an empty data array.

When Ozone retrieves the accounts that qualify for the request, it can use a configured page size (the maximum number of accounts returned in one page). Ozone does not automatically request additional pages from your system in this flow. Configure the page size to cover all accounts you intend to include; do not assume that Ozone retrieves an unlimited number of accounts.

How balance records are mapped

Ozone Connect returns one record per balance, identified by balanceType. Ozone combines the records for each account into a single CDR balance object (a structured set of balance fields):

balanceTypePopulates CDR field
cdr.currentcurrentBalance
cdr.availableavailableBalance
cdr.pursesan entry in purses

Credit limits are returned in creditLines, identified by creditLineType: cdr.creditLimit populates creditLimit and cdr.amortisedLimit populates amortisedLimit.

Requested CDR version

The o3-caller-api-version header identifies the CDR endpoint version requested by the ADR.

You can return the same Ozone Connect response for supported CDR endpoint versions. Ozone removes fields that the requested version does not support. See Balances response mapping for field-specific rules.

Related resources

See Ozone Connect implementation for the mapping exercise and implementation process.