Get transaction history

The GET /api/transaction/history API method retrieves a list of transactions for a specified account. This method provides access to the user's complete transaction history, including details such as transaction date, amount, and description. The endpoint also supports filters for more efficient data retrieval.

Functionality:

  • Retrieves a complete or filtered list of transactions based on the provided query parameters.
  • Allows users to filter their transaction history by date range or transaction type.
  • Returns secure and authenticated access to sensitive financial data.

Response Codes:

  • 200 OK: The transaction history was successfully retrieved.
  • 400 BadRequest: The request was invalid (e.g., incorrect date format).
  • 401 Unauthorized: Authentication failed or token is missing/invalid.
  • 404 NotFound: No transaction history available for the specified account.

Key Features:

  • Detailed Transaction Data: Provides essential transaction information, such as dates, amounts, and descriptions.
  • Filtering Options: Users can filter transactions by date range and type for customized data retrieval.
  • Secure Access: Requires authentication to ensure secure access to sensitive financial details.
  • Pagination: Potential support for pagination if the transaction history is extensive (not shown in the example).

📘

This API allows users to efficiently review and manage their transaction history while maintaining security and privacy.

Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!