PTX Account Visibility API (1.0)

Download OpenAPI specification:

PTX Account Visibility API

This is the documentation for the PTX Account Visibility API. The API is organized REST and uses standard REST features such as resource orientated URLs and HTTP response codes to indicate API errors.

The API allows you to list all the accounts for a customer; list the statements for an account by day, week, month or year; export a single MT940 statement to a zip file; list all the transactions in a specified statement; or list all the transactions in a specified account over a user-defined date range.


Authentication

The process for API authentication is used across PTX for One PTX modules and is not module specific. See Authentication for details.



List all accounts

Returns a list of the accounts for a customer. Includes links to statements for each account for each time period.

Responses

Response samples

Content type
application/json
[]

List all statements

Returns a list of statements for an account by day, week, month or year.

path Parameters
accountId
required
integer <int64>
Example: 123

Bank account identifier, obtained from the List all accounts call.

period
required
string
Enum: "DAY" "MONTH" "WEEK" "YEAR"
Example: WEEK

The time period to view the statements, obtained from the List all accounts call.

Responses

Response samples

Content type
application/json
[]

Export MT940 statement

Exports a single MT940 statement to a zip file.

path Parameters
accountId
required
integer <int64>
Example: 123

The account identifier, obtained from the List all accounts call.

statementId
required
integer <int64>
Example: 10456

The statement identifier, obtained from the List all statements call.

Responses

List all transactions for requested statement

Returns a list of transactions in a given statement.

path Parameters
accountId
required
integer <int64>
Example: 123

The account identifier, obtained from the List all accounts call.

statementId
required
integer <int64>
Example: 10456

The statement identifier, obtained from the List all statements call.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List all transactions for requested account

Returns a list of transactions in a given account

path Parameters
accountId
required
integer <int64>

The account identifier, obtained from the List all accounts call.

query Parameters
page
any

Results page you want to retrieve (0..N)

size
any

Number of records per page.

sort
any

Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

fromDate
required
string <date>

Query for transactions from this date. Format yyyy-MM-dd. Example 2023-05-14.

toDate
required
string <date>

Query for transactions to this date. Format yyyy-MM-dd. Example 2023-05-15.

Responses

Response samples

Content type
application/json
[
  • {
    }
]