get
https://{host}/cdr/2025.20.2.9/accounts//payments/plans
Returns instalment plans 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 |
|---|---|---|
| IPL-020-010 | Return the instalment plans specified by the accountId parameter. | MUST |
| IPL-020-160 | Order the response by plan creationDate, newest first. | MUST |
| IPL-020-170 | If the account has instalment plans but none match the plan-status filter, return 200 with an empty data array. | MUST |
400 Bad Request – 6 requirements
| ID | Rule | Level |
|---|---|---|
| IPL-020-020 | The account identified by the accountId path parameter doesn't exist or is under a bar. | MUST |
| IPL-020-030 | The o3-aspsp-id header is missing or has an unexpected value. | MUST |
| IPL_020_100 | The page or page-size query parameter has an invalid value. | MUST |
| IPL-020-040 | The o3-psu-identifier header is not specified. | SHOULD |
| IPL-020-050 | Both the accountId path parameter and the o3-psu-identifier header are not specified. | SHOULD |
| IPL-020-070, IPL-020-080, IPL-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 |
|---|---|---|
| IPL-020-100 | The API consumer is not authorized. | MUST |
404 Not Found – 1 requirement
| ID | Rule | Level |
|---|---|---|
| IPL-020-180 | Instalment plans aren't applicable to the account. | MAY |