Statements v3.0.1

Statements v3.0.1

Version Control

 

Version

Date

Author

Comments

Version

Date

Author

Comments

3.0.0-draft1

May 3, 2022

Payments NZ API Working Group

Baseline

3.0.0-draft1

 

 

Jun 26, 2022

 

 

Gavin Wong (Unlicensed)

 

Updates to Accounts:

 

3.0.0-draft2

Jan 17, 2023

Nigel Somerfield

Baseline for v3.0.0-draft2

3.0.0-draft2

Apr 6, 2023

Nigel Somerfield

Updated length of resource Id fields from 40 to 128 characters as agreed in https://paymentsnz.atlassian.net/wiki/spaces/PaymentsDirectionAPIStandardsDevelopment/pages/1610940428

3.0.0-rc1

May 5, 2023

Nigel Somerfield

Baselined for release candidate 1

Updated PhoneNumber (used in Phone and Mobile date fields) regular expression as per https://paymentsnz.atlassian.net/wiki/spaces/PaymentsDirectionAPIStandardsDevelopment/pages/1616445441

3.0.0-rc1

Jun 16, 2023

Nigel Somerfield

Corrected Account examples to match the enumerated values for AccountSubType

3.0.0-rc2

Sep 12, 2023

Nigel Somerfield

Baseline for v3.0.0-rc2

3.0.0-rc2

Sep 25, 2023

Nigel Somerfield

Updated:

  • Transactions link to ISO External Code Sets (used in BankTransactionCode)

  • Filtering guidance when filter dates partially overlap consent transaction date range

3.0.0-rc2

Oct 9, 2023

Nigel Somerfield

Updated:

3.0.0

Nov 13, 2023

Nigel Somerfield

Version 3.0.0 baseline release

3.0.0

Jan 31, 2024

Nigel Somerfield

Updated to reflect OpenAPI release in Github (pull request merge)

3.0.1

Jun 6, 2024

Nigel Somerfield

Patch update to clarify the explanation of BookingDateTime:

  • The BookingDateTime is the date the transaction is booked (or posted)
    and becomes immutable - which is not the date the transaction took place

was replaced with:

  • The BookingDateTime is the date the transaction is booked (or posted)
    and becomes immutable - which is not necessarily the date the transaction
    took place

Definition

A resource that describes summary details for an account statement period.

For a specific date range - an account (AccountId) may have no statements, or may have multiple statements.

The /statements endpoint (if implemented by the API Provider) must return all statements within the requested date range for all accounts selected during the authorisation of the account-access-consent.

If a Third Party would like to access a specific statement (StatementId) to retrieve a formal statement download or transactions for a specific statement - the Third Party must specify the account (the AccountId) via the URI request path - i.e., via:

  • GET /accounts/{AccountId}/statements/{StatementId}/file - to download the statement

  • GET /accounts/{AccountId}/statements/{StatementId}/transactions - to return the transactions relating to a statement

Endpoints

Resource

Endpoint

Mandatory?

Scope

Grant Type

Idempotency Key

Parameters

Request Object

Response Object

Resource

Endpoint

Mandatory?

Scope

Grant Type

Idempotency Key

Parameters

Request Object

Response Object

statements

GET /accounts/{AccountId}/statements

Mandatory

accounts

Redirect Flow; or

Decoupled Flow

No

Pagination

Filtering



OBReadStatement1

statements

GET /accounts/{AccountId}/statements/{StatementId}

Mandatory

accounts

Redirect Flow; or

Decoupled Flow

No

 



OBReadStatement2

statements

GET /accounts/{AccountId}/statements/{StatementId}/file

Mandatory

accounts

Redirect Flow; or

Decoupled Flow

No







transactions

GET /accounts/{AccountId}/statements/{StatementId}/transactions

Mandatory

accounts

Redirect Flow; or

Decoupled Flow

No

Pagination

Filtering



OBReadTransaction2

statements

GET /statements

Optional

account

Redirect Flow; or

Decoupled Flow

No

Pagination

Filtering



OBReadStatement1

GET /accounts/{AccountId}/statements

The API endpoint allows a Third Party to retrieve the statements for a specific account identified by AccountId.

  • The Third Party must have an access token issued by the API Provider using an authorization flow (either redirect flow or decoupled flow). 

GET /accounts/{AccountId}/statements/{StatementId}