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