View Categories

Search Individual Transactions

< 1 min read

Search Individual Transactions #

Advanced filtering for the transaction list. This uses the same gateway endpoint (POST /app/get-all-transactions) but demonstrates how to apply date and amount filters to narrow the result set.

Endpoint #

POST https://api-test.10npay.com/app/get-all-transactions

Request Body (filters) #

{
  "individualId": 2077,
  "dataBatch": 1,
  "dataBatchCount": 20,
  "timestampFrom": "2026-04-01T00:00:00Z",
  "timestampTo": "2026-04-30T23:59:59Z",
  "amountFrom": "100",
  "amountTo": "500",
  "transactionType": "P2P"
}

The official AllTransactionRequestModel supports:

  • individualId – required.
  • dataBatch – page index (start at 1).
  • dataBatchCount – optional page size.
  • timestampFrom/timestampTo – optional ISO date range.
  • amountFrom/amountTo – optional numeric range (string values).

Additional filters (transactionType, category) are handled server-side based on the user’s configuration.

Response #

Identical to the “Transactions List” article: AllTransactionReportResponse with transactions array + transactionCount. Use transactionCount to determine when pagination is complete.

Error handling #

  • 400 – invalid range (e.g., timestampFrom > timestampTo).
  • 401 – token missing/expired.
  • 404 – no records found (empty dataset).
  • 500 – transient failure.

Usage tips #

  • Implement infinite scroll by incrementing dataBatch.
  • Use timestampFrom/timestampTo for date pickers (month selector).
  • Combine amountFrom/amountTo with transaction type filters to replicate the app’s “Search transactions” modal.