List Transactions (Internal Movements)

Overview

Retrieve a paginated list of transactions for a specific account over a date range. Each transaction includes its amount, currency, debit or credit direction, and the date the bank applied it to the account.

Endpoint Details

Definition

Description

Endpoint

https://api.paas.sandbox.co.passportfintech.com/v1/accounts/{{account_id}}/transactions

Method

GET

Headers

Content-Type: application/json, Authorization

Authentication

Access Token (Bearer Token)

Query Parameters

Parameter

Description

start_date

Start of the date range to query. Format:DD/MM/AAAA

end_date

End of the date range to query. Format:DD/MM/AAAA

page_params.page_size

Number of transactions to request per page.

page_params.page_number

Page to retrieve. The example response shows page 1.

page_params.first_request_timestamp.seconds

Whole seconds since 1970-01-01T00:00:00Z for the first request in the pagination sequence. Supports timestamps from year 0001 through 9999, inclusive.

page_params.first_request_timestamp.nanos

Fractional part of the first request timestamp, in nanoseconds. Valid values are 0 through 999999999, inclusive. This value stays non-negative even when seconds is negative.

order_params.order_key

Field used to sort the results.

order_params.order_direction

Sort direction. Accepted values are ASC, DESC, and ORDER_DIRECTION_ENUM_UNSPECIFIED.

start_date

Start of the date range to query.

end_date

End of the date range to query.

Example Request

curl --location 'https://api.paas.sandbox.co.passportfintech.com/v1/accounts/ef7b4ab0-d647-45ad-bcd6-1036efb077d3/transactions' \
--header 'Authorization: Bearer <YOUR_ACCESS_TOKEN>' \
--data ''

Response

A successful request returns 200 OK with an application/json body. The transactions array contains the records on the current page. The pagination_info object describes the full result set.

Example of Response

{…}

Transaction Fields (Response)

Field

Type

Description

id

string

Identifier for the individual transaction.

account_id

string

Identifier of the account associated with the transaction.

direction

string

Indicates whether the transaction debits (DEBIT) or credits (CREDIT) the account.

amount.value

string

Decimal amount in the specified currency. For example, "1000.00" with currency COP represents 1,000 Colombian pesos.

amount.currency

string

Currency code, such as COP.

transacted_at

string (timestamp)

Date and time the transaction occurred, expressed in UTC.

applied_date

string

Date the bank applied the transaction to the account. The sample uses DD/MM/YYYY.

movement_type

string

Movement category, such as ELECTRONIC_TRANSACTION.

movement_reference

string

Bank-provided movement reference, such as TBREB, ACH, or PSE

movement_description

string

Bank-provided description of the movement, such as ND TRANSACC ELECTRON.

transaction_description

string

Description of the individual transaction, such as BRE-B, ACH or PSE

batch_description

string

Description of the batch associated with the transaction.

originating_bank

string

Originating bank as reported in the record. The sample includes both a bank name and the value INTERNAL.

originator_name

string

Name of the transaction originator.

originator_id_number

string

Identification number of the transaction originator.

pos_location

string

Point-of-sale location. Can be an empty string.

merchant_data

string

Merchant information associated with the transaction. Can be an empty string.