get
https://{host}/cdr/2025.20.2.9/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
| ID | Rule | Level |
|---|---|---|
| BAL-010-010 | Return all the balances for accounts specified by the accountIds query parameter. | MUST |
| BAL-010-140 | If one or more of the specified accounts doesn't exist or can't be retrieved, still return the others. | SHOULD |
| BAL-010-150 | If no accounts are found, return 200 with an empty data array. | MUST |
| BAL-010-110 | If the balanceType is specified, return only that balance type. | MUST |
| BAL-010-120 | If the balanceType is not specified, return more than one balance per account – one for each balance type. | MAY |
400 Bad Request – 7 requirements
| ID | Rule | Level |
|---|---|---|
| BAL-010-020 | The accountIds query parameter is not specified. | MUST |
| BAL-010-040 | The o3-psu-identifier header is not specified. | MUST |
| BAL-010-050 | Both the accountIds query parameter and the o3-psu-identifier header are not specified. | MUST |
| BAL-010-030 | The o3-aspsp-id header is missing or has an unexpected value. | MUST |
| BAL-010-130 | The balanceType query parameter has an unexpected value or is not supported. | MUST |
| BAL_010_140 | The page or page-size query parameter has an invalid value. | MUST |
| BAL-010-070, BAL-010-080, BAL-010-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-010-100 | The API consumer is not authorized. | MUST |