GuidesAPI ReferenceRelease Notes
Log In
API Reference

Get transactions for account

Returns transactions for the account identified by accountId, subject to the supplied filters and pagination.

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 – 4 requirements
IDRuleLevel
TXN-020-010Return all the transactions for the account specified by the accountId path parameter.MUST
TXN-020-011Return the transactions for the account specified, starting from the specified valid fromBookingDateTime query parameter, until today.MUST
TXN-020-012Return the transactions for the account specified, starting from the beginning, and ending at the specified valid toBookingDateTime query parameter.MUST
TXN-020-013Return the transactions for the account specified, starting from the specified valid fromBookingDateTime query parameter, and ending at the specified valid toBookingDateTime query parameter.MUST
400 Bad Request – 8 requirements
IDRuleLevel
TXN-020-020The account doesn't exist or is under a bar.MUST
TXN-020-040The o3-psu-identifier header is not specified.MUST
TXN-020-030The o3-aspsp-id header is missing or has an unexpected value.MUST
TXN-020-050Both the accountId path parameter and the o3-psu-identifier header are not specified.MUST
TXN-020-170The fromBookingDateTime query parameter is not a valid ISO 8601 date-time.MUST
TXN-020-180The toBookingDateTime query parameter is not a valid ISO 8601 date-time.MUST
TXN_020_190The page or page-size query parameter has an invalid value.MUST
TXN-020-070, TXN-020-080, TXN-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
TXN-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
integer

The page of results to be returned.

If the page parameter is not specified, the financial institution may return either:

  • a complete set of unpaginated data. The paginated flag is set to false.
  • the first page of paginated data. The paginated flag is set to true. Optionally,
    number of pages are indicated in the totalPages attribute.

Optionality

This parameter is optional to support.

If not supported by the financial institution and the parameter is provided, financial institutions must return an error.

string

Include only transactions whose amount is greater than or equal to the supplied amount.

string

Include only transactions whose amount is less than or equal to the supplied amount.

string

Filter transactions by the Ozone Connect transaction identifier.

integer
Defaults to 25

Number of records to return per page. If omitted, the default is 25.

string

Filter transactions by status. If supplied, return only transactions with the specified status. If omitted, return transactions regardless of status.

Support for this Ozone Connect filter is optional. If it is unsupported and supplied, the financial institution must return an error. It is not a TPP-facing CDR query parameter.

date-time

Include only transactions whose bookingDateTime is on or after the supplied date-time.

date-time

Include only transactions whose bookingDateTime is on or before the supplied date-time.

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

401

The API consumer is not authorized. See the 401 Unauthorized requirements in the endpoint description.

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json