GuidesAPI ReferenceRelease Notes
Log In
API Reference

Get account balance

Returns balances for the account identified by accountId.

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 – 3 requirements
IDRuleLevel
BAL-020-010Return the balances for the account specified by the accountId parameter.MUST
BAL-020-110If the balanceType is specified, return only that balance type.MUST
BAL-020-120If the balanceType is not specified, return more than one balance per account – one for each balance type.MAY
400 Bad Request – 6 requirements
IDRuleLevel
BAL-020-020The account identified by the accountId path parameter doesn't exist or is under a bar.MUST
BAL-020-030The o3-aspsp-id header is missing or has an unexpected value.MUST
BAL-020-130The balanceType query parameter has an unexpected value or is not supported.MUST
BAL-020-040The o3-psu-identifier header is not specified.SHOULD
BAL-020-050Both the accountId path parameter and the o3-psu-identifier header are not specified.SHOULD
BAL-020-070, BAL-020-080, BAL-020-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-020-100The API consumer is not authorized.MUST
Path Params
string
required

Ozone Connect identifier of the account to retrieve data for. Use the same identifier returned by the accounts endpoint.

Query Params
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.

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