Search⌘ K

List Transactions

Explore how to retrieve a list of all transactions and detailed information for a specific transaction using Marqeta's API. Understand how to apply filters, use pagination effectively, and handle date range parameters to manage transaction data in a sandbox environment.

In this lesson, we’ll learn to get a list of all transactions and how to get the details of a specific transaction.

Get all transactions

We can get a list of all transactions by making a GET request to the {BASE_URL}/transactions endpoint. This endpoint allows us to filter the visibility of the response fields if necessary. This endpoint also supports pagination, which allows us to retrieve a specific range of resources from a complete and sorted list of the returned resources.

Note: This endpoint only retrieves transactions that have either a “PENDING” or “COMPLETION” status. It also only provides transactions conducted within the last ...