View Categories

Transactions List

< 1 min read

Transactions List #

Returns the paginated list of transactions for a given individual. This is the same endpoint the wallet uses to build its activity screen.

Endpoint #

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

Headers #

  • Authorization: Bearer <access_token>
  • Content-Type: application/json
  • Accept: application/json

Request Body #

Use AllTransactionRequestModel:

{
  "individualId": 2077,
  "dataBatch": 1,
  "dataBatchCount": 20,
  "timestampFrom": "2026-05-01T00:00:00Z",
  "timestampTo": "2026-05-22T23:59:59Z",
  "amountFrom": "10",
  "amountTo": "1000"
}
Field Type Description
individualId number Customer ID (same as onboarding response).
dataBatch number Page number (starts at 1).
dataBatchCount number? Optional page size (default 20).
timestampFrom ISO string? Optional start date filter.
timestampTo ISO string? Optional end date filter.
amountFrom, amountTo string Optional amount range.

Success Response #

200 OKAllTransactionReportResponse

{
  "transactions": [
    {
      "transactionId": "TNP0007241580001",
      "amount": 120.5,
      "currency": "BGN",
      "timeStamp": "2026-05-21T12:35:02Z",
      "transactionType": "P2P",
      "transactionCategory": "Debit",
      "transactionStatus": "Accepted",
      "senderName": "John Doe",
      "receiverName": "Ivailo Petkov",
      "paymentNotes": "Rent May",
      "paymentSystem": "INTERNAL"
    }
  ],
  "transactionCount": 42
}

Error Responses #

  • 400 Bad Request – invalid filters or unknown individual.
  • 401 Unauthorized – missing/expired token.
  • 404 Not Found – no transactions (empty dataset).
  • 500 Internal Server Error – retry later.

Notes #

  • Use dataBatch/dataBatchCount for pagination (e.g., load next page when the user scrolls).
  • Combine with timestampFrom/timestampTo to implement date filters.
  • For a single transaction, call POST /app/get-transaction (see the dedicated article).