Skip to main content
The SDK provides type-safe filter helpers for querying records.

Basic Filtering

Pass filter objects to list() methods:
Multiple filter properties are combined with AND logic:

Metadata filters

Use metadataFilters when you need exact key/value matches on metadata. Entries are AND-ed together.
Supported on: clients, addresses, bank accounts, contact methods, documents, alerts, and transactions.

Filter Helpers

Import helpers for building filters:

String Filters

Contains

Match if field contains substring (case-insensitive):

Starts With

Match if field starts with prefix:

Ends With

Match if field ends with suffix:

Equals / Not Equals

Exact match or exclusion:

Array Filters

One Of

Match any of the values (OR):

Not One Of

Exclude values:

Date Filters

Date Range

Inclusive range:

After / Before

Exclusive comparisons:

On Or After / On Or Before

Inclusive comparisons:

Number Filters

Number Range

Inclusive range:

Comparisons

Boolean Filters

Null Filters

Combining Filters

Combine multiple filters (AND logic):

Filter with Pagination