Retrieve Recent Transactions by Financial Account

Retrieve Recent Transactions by Financial Account (Legacy)

This endpoint retrieves the most recent financial activity for a specified financial account. It is designed to support legacy system integrations by providing a detailed, filterable, and paginated list of transactions including deposits, withdrawals, transfers, and card activity. Use this endpoint when compatibility with older processing flows is required or when migrating from legacy account management systems.

Endpoint

POST /api/transaction/v3/byFinancialAccount/server/old

Authentication

Bearer token required. Obtain via:

POST https://api.banking.netevia.dev/api/auth/v2

Include in header: Authorization: Bearer {token}
Token lifetime: 10 minutes. Refresh via POST /api/auth/refresh.

When to use

Use this endpoint to retrieve a historical snapshot of recent account activity for reconciliation, reporting, or account management in legacy-integrated systems. It supports filtering by date range, transaction type, amount range, payment card, status, and keyword search. It is especially useful for back-office tools or older partner integrations that need pagination and category-level filtering over a financial account's transaction history.

Request Body

The request body accepts one of two schema variants:

Base variant (financialaccountwithperiodandamountfilterrequest):

FieldTypeRequiredDescription
financialAccountIdstringYesThe unique identifier of the financial account to query.
dateFromstring (date-time)YesStart of the date range for filtering transactions (ISO 8601).
dateTostring (date-time)YesEnd of the date range for filtering transactions (ISO 8601).
amountFilterobjectNoFilter transactions by minimum and/or maximum amount.
amountFilter.minValueinteger (int64)NoMinimum transaction amount in smallest currency unit (e.g., cents).
amountFilter.maxValueinteger (int64)NoMaximum transaction amount in smallest currency unit (e.g., cents).
searchStringstringNoFree-text keyword search applied against transaction data.
filterobjectNoCategory-level boolean filters (deposit, withdraw, transfers, pos, others, transactionStatus, all).
filter.allobjectNoFilter item to include all transaction types.
filter.depositobjectNoFilter item to include deposit transactions.
filter.withdrawobjectNoFilter item to include withdrawal transactions.
filter.transfersobjectNoFilter item to include transfer transactions.
filter.posobjectNoFilter item to include point-of-sale transactions.
filter.transactionStatusobjectNoFilter item to filter by transaction status.
filter.othersobjectNoFilter item to include other transaction types.
jsonFilterstringNoAdvanced JSON-encoded filter string for custom filtering logic.
spendEventsarray of stringsNoList of specific spend event types to include.
paymentCardIdstringNoFilter transactions associated with a specific payment card ID.
statusstring (enum)NoFilter by transaction status. Allowed values: OTHER, PENDING, COMPLETED, FAILED.
paginationSettingsobjectNoPagination control for the result set.
paginationSettings.takeinteger (int32)NoNumber of records to return. Range: 1–10000.
paginationSettings.skipinteger (int32)NoNumber of records to skip for offset-based pagination. Range: 0–2147483647.

Extended variant (financialaccountwithperiodandamountfilterrequestextension) adds:

FieldTypeRequiredDescription
financialAccountIdstringNoOverrides the base financialAccountId field; nullable in this variant. All other base fields apply.
{
  "financialAccountId": "fa_abc123def456",
  "dateFrom": "2026-05-01T00:00:00Z",
  "dateTo": "2026-06-01T00:00:00Z",
  "amountFilter": {
    "minValue": 100,
    "maxValue": 50000
  },
  "searchString": "Amazon",
  "filter": {
    "deposit": { "displayName": "Deposits", "value": true },
    "pos": { "displayName": "POS", "value": true }
  },
  "status": "COMPLETED",
  "paginationSettings": {
    "take": 50,
    "skip": 0
  }
}

Response

200 OK

FieldTypeDescription
dataarrayList of financial activity records matching the query.
data[].idstringUnique identifier for the activity record.
data[].financialAccountIdstringThe financial account this activity belongs to.
data[].datestring (date-time)Date and time the activity was recorded.
data[].sortDatestring (date-time)Date used for chronological sorting of results.
data[].balanceobjectAccount balance at the time of the activity.
data[].balance.valueinteger (int64)Balance amount in smallest currency unit.
data[].balance.currencyCodestringISO 4217 currency code (e.g., USD).
data[].statusstring (enum)Transaction status: OTHER, PENDING, COMPLETED, FAILED.
data[].riskHoldbooleanWhether the transaction is under a risk hold.
data[].settlementDatestring (date-time)Date the transaction was settled (read-only).
data[].purposestringPurpose or description of the activity (read-only).
data[].statusReasonCodestringMachine-readable reason code for the current status.
data[].amountobjectTransaction amount with currency symbol.
data[].amount.valueinteger (int64)Amount in smallest currency unit.
data[].amount.currencyCodestringISO 4217 currency code.
data[].amount.symbolstringCurrency symbol (e.g., $).
data[].clearAmountobjectCleared amount (same structure as amount).
data[].pendingAmountobjectPending amount (value + currencyCode).
data[].namestringDisplay name for the transaction (e.g., merchant or counterparty name).
data[].last4objectLast 4 digits identifier for the associated card or account.
data[].last4.typestring (enum)Type of last4 identifier: CARD or ACCOUNT.
data[].last4.valuestringThe last 4 characters/digits.
data[].typestringTransaction type label (read-only).
data[].authorizedUserstringName or identifier of the authorized user who initiated the transaction.
data[].merchantCategorystringMerchant category description for card transactions.
data[].rewardPointsinteger (int64)Reward points earned on this transaction (business customers only).
data[].transactionSourceobjectSource transaction details.
data[].transactionSource.typenamestringType name of the source transaction.
data[].transactionSource.idstringSource transaction identifier.
data[].transactionSource.transactionEventsarrayChild transaction events associated with the source.
data[].activityInfoobjectProfile and history information for the activity.
data[].activityInfo.fromProfileobjectProfile of the sender (id, name, agentId).
data[].activityInfo.toProfileobjectProfile of the recipient (id, name, agentId).
data[].activityInfo.historyRecordsarrayStatus change history records (date, status).
data[].financialEventobjectDetailed financial event data associated with this activity.
data[].financialEvent.idstringFinancial event identifier.
data[].financialEvent.accountingDirectionstring (enum)Direction of the event: DEBIT or CREDIT.
data[].financialEvent.processingTypestringProcessing type for the event.
data[].financialEvent.statusstringEvent-level status.
data[].financialEvent.memostringMemo or note on the event.
data[].financialEvent.createdAtstring (date-time)Timestamp when the event was created.
data[].financialEvent.settlementDatestring (date-time)Settlement date of the financial event.
data[].financialEvent.merchantDetailsobjectMerchant information (name, category, categoryCode, countryCodeAlpha3, description, merchantId).
data[].financialEvent.paymentCardobjectPayment card details (id, bin, last4).
data[].financialEvent.toFinancialAccountobjectDestination account for transfers (id, name, last4, provider, externalBankAccountDetails).
data[].financialEvent.fromFinancialAccountobjectSource account for transfers (id, name, last4, provider, externalBankAccountDetails).
data[].financialEvent.companyNamestringACH originating company name.
data[].financialEvent.companyIdentifierstringACH originating company identifier.
data[].financialEvent.companyEntryDescriptionstringACH company entry description.
data[].financialEvent.transferobjectEFT/ACH transfer details (id, fundsAvailableDate, descriptor).
data[].financialEvent.responseCodestringAuthorization response code.
data[].financialEvent.avsResponseCodestringAddress Verification Service response code.
data[].financialEvent.cvvResponseCodestringCVV verification response code.
data[].financialEvent.postalCodeResponseCodestringPostal code verification response code.
filterobjectThe active filter object applied to the query (echoed back).
paginationResponseobjectPagination metadata for the result set.
paginationResponse.totalItemsinteger (int32)Total number of matching records across all pages.
{
  "data": [
    {
      "id": "act_9f3a12bc45d6",
      "financialAccountId": "fa_abc123def456",
      "date": "2026-05-22T14:35:00Z",
      "sortDate": "2026-05-22T14:35:00Z",
      "balance": {
        "value": 245000,
        "currencyCode": "USD"
      },
      "status": "COMPLETED",
      "riskHold": false,
      "settlementDate": "2026-05-23T00:00:00Z",
      "purpose": "PURCHASE",
      "statusReasonCode": null,
      "amount": {
        "value": 4999,
        "currencyCode": "USD",
        "symbol": "$"
      },
      "clearAmount": {
        "value": 4999,
        "currencyCode": "USD",
        "symbol": "$"
      },
      "pendingAmount": {
        "value": 0,
        "currencyCode": "USD"
      },
      "name": "Amazon",
      "last4": {
        "type": "CARD",
        "value": "1234"
      },
      "type": "SPEND",
      "authorizedUser": null,
      "merchantCategory": "Online Retail",
      "rewardPoints": 50,
      "transactionSource": {
        "typename": "CardTransaction",
        "id": "tx_7c88ef902a1b",
        "transactionEvents": []
      },
      "activityInfo": {
        "fromProfile": null,
        "toProfile": null,
        "historyRecords": [
          { "date": "2026-05-22T14:35:00Z", "status": "PENDING" },
          { "date": "2026-05-23T00:00:00Z", "status": "COMPLETED" }
        ]
      },
      "financialEvent": {
        "id": "fe_3d12ab78cd90",
        "accountingDirection": "DEBIT",
        "processingType": "CARD_AUTHORIZATION",
        "status": "COMPLETED",
        "memo": null,
        "createdAt": "2026-05-22T14:35:00Z",
        "settlementDate": "2026-05-23T00:00:00Z",
        "merchantDetails": {
          "name": "Amazon",
          "category": "Online Retail",
          "categoryCode": "5999",
          "countryCodeAlpha3": "USA",
          "description": "Online marketplace",
          "merchantId": "merch_4455667788"
        },
        "paymentCard": {
          "id": "card_xyz9876",
          "bin": "411111",
          "last4": "1234"
        },
        "responseCode": "00",
        "avsResponseCode": "Y",
        "cvvResponseCode": "M",
        "postalCodeResponseCode": "Y"
      }
    }
  ],
  "filter": {
    "deposit": { "displayName": "Deposits", "value": true },
    "pos": { "displayName": "POS", "value": true }
  },
  "paginationResponse": {
    "totalItems": 142
  }
}

Error Codes

CodeWhen it happens
400Missing required fields (financialAccountId, dateFrom, dateTo) or invalid field values (e.g., take out of range, malformed date)
401Token missing, expired, or invalid
403Caller does not have permission to access the specified financial account
404Financial account not found
500Internal server error

Common Mistakes

  • Omitting financialAccountId, dateFrom, or dateTo — all three are required in the base request schema.
  • Supplying dateFrom greater than dateTo, which returns zero results or a validation error.
  • Setting paginationSettings.take to 0 or a value greater than 10000 — the valid range is 1–10000.
  • Passing amounts as decimal values (e.g., 49.99) instead of the smallest currency unit in integer form (e.g., 4999 for $49.99).
  • Using this endpoint for real-time or high-frequency polling — it is intended for legacy batch and reconciliation workflows; consider the current transaction endpoints for live data.

Related Endpoints

  • POST /api/transaction/v3/byFinancialAccount/server — Current (non-legacy) version of this endpoint for retrieving transactions by financial account
  • POST /api/transaction/v3/byFinancialAccount — Retrieve transactions by financial account (client-facing variant)
  • GET /api/financialaccount/v1/{financialAccountId} — Retrieve details for a specific financial account

Example

curl -X POST https://api.banking.netevia.dev/api/transaction/v3/byFinancialAccount/server/old \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "financialAccountId": "fa_abc123def456",
    "dateFrom": "2026-05-01T00:00:00Z",
    "dateTo": "2026-06-01T00:00:00Z",
    "amountFilter": {
      "minValue": 100,
      "maxValue": 50000
    },
    "searchString": "Amazon",
    "status": "COMPLETED",
    "paginationSettings": {
      "take": 50,
      "skip": 0
    }
  }'
Body Params
amountFilter
object
string | null
filter
object
string | null
spendEvents
array of strings | null
spendEvents
string | null
string
enum
Allowed:
paginationSettings
object
date-time
required
date-time
required
string
required
length ≥ 1
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response

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