Skip to main content

Documentation Index

Fetch the complete documentation index at: https://tracefinance-docs-withdrawal-beneficiary-events.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Overview

List endpoints support a filters query parameter that lets you narrow results by field values, ranges, and patterns using LHS Brackets syntax.

How it works

Syntax

Filters follow the format field[operator]=value:
?filters=field[operator]=value
Combine multiple filters with a semicolon (;) — groups separated by ; are implicitly AND-ed. Group conditions with logical operators and(...) and or(...), separating conditions inside with commas. Use the string null to filter for null values: field[eq]=null.

Operators

OperatorDescriptionExample
eqEqualsid[eq]=abc-123
neNot equalsstatus[ne]=CLOSED
gtGreater thanamount.value[gt]=1000
gteGreater than or equalcreatedAt[gte]=2025-01-01T00:00:00Z
ltLess thanamount.value[lt]=50000
lteLess than or equalcreatedAt[lte]=2025-12-31T23:59:59Z
inMatches any value in list (pipe-separated)type[in]=CHECKING|SAVING
ninExcludes values in list (pipe-separated)status[nin]=CLOSED|SUSPENDED
likeCase-insensitive partial matchname[like]=trace
textFull-text search (case-insensitive)description[text]=payment
lastLast element of array equalsstates.status[last]=ACTIVE
last_neLast element of array not equalsstates.status[last_ne]=CLOSED

Logical operators

Combine conditions using and(...) or or(...):
?filters=and(amount.value[gt]=1000,amount.value[lt]=50000)

Examples

Filter by ID:
?filters=id[eq]=399ca839-abd5-4a7d-981b-f187e7777ec8
Filter by date range:
?filters=and(createdAt[gte]=2025-01-01T00:00:00Z,createdAt[lte]=2025-01-31T23:59:59Z)
Filter by type (multiple values):
?filters=type[in]=CHECKING|SAVING
Filter by current status:
?filters=states.status[last]=ACTIVE
Combined filters:
?filters=states.status[last]=ACTIVE;and(amount.value[gt]=1000,amount.value[lt]=50000)
Full request example:
curl --request GET \
  --url 'https://api.sandbox.tracefinance.com/api/accounts?limit=10&filters=states.status[last]=ACTIVE' \
  --header 'Authorization: Bearer <token>'