Skip to main content

Overview

The /v1/transactions endpoint supports a rich set of query parameters. All filters are optional and can be combined.

Filters

Payment Method

Filter by how the customer paid:
Omit payment_method to get both QR and card-present transactions in a single response.

Merchant

Filter by merchant using the UUID from /v1/merchants:

Branch

Filter by branch using the UUID from /v1/branches:

Terminal

Filter by terminal using the activation code (the physical device identifier):

Status

Filter by one or more transaction statuses (comma-separated):

Card Brand

Filter by card brand (card-present transactions only):
Accepted values: VISA, MASTERCARD

Date Range

Filter by transaction creation date using RFC 3339 timestamps:
Both date_from and date_to are optional. Use one or both to define the range.

Sorting

Control the order of results with sort_by and sort_order:

Pagination

Results are cursor-paginated for efficient traversal of large datasets.

Parameters

How It Works

  1. Make your initial request with page_size:
  1. The response includes pagination metadata:
  1. Pass next_cursor to get the next page:
  1. Continue until has_more is false.
Don’t change sort_by between pages. Cursors are tied to the sort field used when the cursor was created. Changing sort_by mid-pagination returns a 400 error. Start a new query instead.

Combining Filters with Pagination

All filters work with pagination. The cursor remembers the full filter context:

Amount Details

Every transaction includes a consistent amount_details object with amounts in the smallest currency unit (cents):
Calculating GTV: Filter by status=CAPTURED and sum amount_received across all pages. This gives you the Gross Transaction Value for the filtered period.

Error Responses

Invalid filter values return 400 Bad Request:
Common errors:
  • Unknown query parameter → "unknown query parameter: foo"
  • Invalid status value → "invalid status: INVALID"
  • Invalid date format → "invalid date_from: must be RFC 3339"
  • Invalid sort field → "invalid sort_by: must be created_at, updated_at, or amount"

What’s Next?

API Reference

Full endpoint reference with request/response schemas

Authentication

API keys and entity scoping