GuidesAPI ReferenceRelease Notes
Log In
API Reference

Get bulk balances

Returns all applicable balance records for the accounts identified by accountIds. In the CDR bulk balance flow, Ozone selects eligible accounts before calling this endpoint and passes balanceType where supplied. It does not forward account filters or pagination parameters to this call. Ozone paginates the retrieved result by account, keeping that account’s balance records together.

The requirements below define how the financial institution's implementation of this endpoint must behave, grouped by response code. IDs refer to Ozone test harness cases; MUST, SHOULD and MAY indicate requirement levels as defined in RFC 2119.

200 OK – 5 requirements
IDRuleLevel
BAL-010-010Return all the balances for accounts specified by the accountIds query parameter.MUST
BAL-010-140If one or more of the specified accounts doesn't exist or can't be retrieved, still return the others.SHOULD
BAL-010-150If no accounts are found, return 200 with an empty data array.MUST
BAL-010-110If the balanceType is specified, return only that balance type.MUST
BAL-010-120If the balanceType is not specified, return more than one balance per account – one for each balance type.MAY
400 Bad Request – 7 requirements
IDRuleLevel
BAL-010-020The accountIds query parameter is not specified.MUST
BAL-010-040The o3-psu-identifier header is not specified.MUST
BAL-010-050Both the accountIds query parameter and the o3-psu-identifier header are not specified.MUST
BAL-010-030The o3-aspsp-id header is missing or has an unexpected value.MUST
BAL-010-130The balanceType query parameter has an unexpected value or is not supported.MUST
BAL_010_140The page or page-size query parameter has an invalid value.MUST
BAL-010-070, BAL-010-080, BAL-010-090One or more of the o3-api-uri, o3-api-operation and o3-ozone-interaction-id headers is missing or has an unexpected value.MAY
401 Unauthorized – 1 requirement
IDRuleLevel
BAL-010-100The API consumer is not authorized.MUST
Query Params
string
required
≥ 1

Comma-separated account identifiers covered by the consent. Return data only for these accounts, subject to the supplied filters and pagination.

string

Balance type to return. If supplied, return only balances of this type. If omitted, the financial institution may return multiple balance types for each account.

string
enum

Filter results by the product category of the account or product. If omitted, include all product categories.

string
enum
Defaults to ALL

Filter accounts by open or closed status. If omitted, ALL is assumed.

Allowed:
boolean

Filter accounts by whether the authorized customer is an owner. Use true for owned accounts or false for accounts not owned by the customer. If omitted, include both.

integer
Defaults to 1

Page of results to return. If omitted, the default is 1.

integer
Defaults to 25

Number of records to return per page. If omitted, the default is 25.

Headers
string
required

Identifier of the financial institution targeted by the request. The header name remains o3-aspsp-id for compatibility.

string

Identifier of the organization making the request.

string

Client identifier associated with the request.

string

Software statement identifier associated with the request.

string
required

Parameterized URL of the API requested by the TPP.

string
required

HTTP method of the API requested by the TPP, such as GET or POST.

string

Interaction identifier supplied by the TPP, if present.

string
required

Interaction identifier used by Ozone. If o3-caller-interaction-id is supplied, this header has the same value; otherwise Ozone generates a value.

string
required

Base64-encoded JSON object identifying the customer. It decodes to the psuIdentifiers object recorded on the consent, which always contains a userId string, for example {"userId": "<string>"}.

string
required

Version of the TPP-facing CDR endpoint requested by the TPP, for example 3. This is an endpoint version, not the CDR standard version or Ozone platform release version.

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json