Skip to main content

Queries

Overview

Access detailed information about payments, checkouts, and other resources using flexible queries. Filter and sort data to find exactly what you need:

  • Filter by multiple criteria: date ranges, statuses, amounts, and more.
  • Sort results: order data in ascending or descending order.
  • Select specific fields: choose which data fields to show.
  • Paginate efficiently: to navigate large datasets without impacting the performance. See how pagination works for more details.

All queries endpoints follow a consistent pattern across resources, both via API and in the Getpaid Dashboard, making it easy to work with different types of data using familiar request structures.

Steps

1. Filtering

Filters narrow down your search results to only show resources that match your criteria. Use filters to find specific transactions, such as payments from a certain date range, with a particular status, or for a specific amount.

Each resource type supports different filter options. For example, you can filter payments by creation date or status, while other resources may have their own set of available filters.

Filtering checkouts in the Getpaid Dashboard

Filtering checkouts in the Getpaid Dashboard

2. Sorting

You can sort by one or more fields, choosing to sort each field in ascending or descending order.

When sorting by multiple fields, the order matters. Results are first sorted by the primary field, then within groups of identical values in that field, results are sorted by the secondary field, and so on. This allows for hierarchical sorting where secondary sort criteria act as tiebreakers.

Sortable columns have a display hint near the column name.

When sorting by those columns, the sorting order and direction for each column sorted is also displayed.

Sorting by several fields in the Getpaid Dashboard

Sorting by several fields in the Getpaid Dashboard

3. Select fields

Column order and visibility can be configured for each table in the Getpaid Dashboard. Your configuration is saved automatically. For multiple configurations, you can use quick views.

Column selection in the Getpaid Dashboard

Column selection in the Getpaid Dashboard

4. Handle and paginate results

The Getpaid Dashboard uses infinite scroll, progressively loading subsequent items as you scroll. Once all items matching your search criteria have been retrieved, the total count is displayed to indicate the end of results.

End of search results in the Getpaid Dashboard

End of search results in the Getpaid Dashboard

5. Get resource details

For each item in the query results, you can retrieve full details for that specific resource.

Click on any row in the results list to open the details pane and view complete information about that resource.

Checkouts details after clicking on a results row in the Getpaid Dashboard

Checkouts details after clicking on a results row in the Getpaid Dashboard