GuidesAPI ReferenceRelease Notes
Log In
API Reference

Get instalment plans for account

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
IDRuleLevel
IPL-020-010Return the instalment plans specified by the accountId parameter.MUST
IPL-020-160Order the response by plan creationDate, newest first.MUST
IPL-020-170If 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
IDRuleLevel
IPL-020-020The account identified by the accountId path parameter doesn't exist or is under a bar.MUST
IPL-020-030The o3-aspsp-id header is missing or has an unexpected value.MUST
IPL_020_100The page or page-size query parameter has an invalid value.MUST
IPL-020-040The o3-psu-identifier header is not specified.SHOULD
IPL-020-050Both the accountId path parameter and the o3-psu-identifier header are not specified.SHOULD
IPL-020-070, IPL-020-080, IPL-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
IPL-020-100The API consumer is not authorized.MUST
404 Not Found – 1 requirement
IDRuleLevel
IPL-020-180Instalment plans aren't applicable to the account.MAY
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
enum
Defaults to ACTIVE

Filter instalment plans by repayment status. ACTIVE selects plans with at least one scheduled instalment whose isPaid is false. INACTIVE selects plans whose scheduled instalments are all paid. ALL selects both. If omitted, ACTIVE is assumed.

Allowed:
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