Skip to content

Money filters

Filters that compare a field to a monetary value or range.

Filters by comparing a field to a monetary value.

PropertyTypeRequiredDescription
operatorComparisonOperatorsYesThe operator to apply to the filter value.
valueMoneyYesThe value to use for the filter operation.
{
"operator": "gt",
"value": {
"amount": "1000",
"currency": "USD"
}
}

Filters by comparing a field to a range of monetary values.

PropertyTypeRequiredDescription
operatorRangeOperatorsYesThe operator to apply to the filter value.
valueobjectYesThe value to use for the filter operation.
{
"operator": "between",
"value": {
"min": {
"amount": "1000",
"currency": "USD"
},
"max": {
"amount": "10000",
"currency": "USD"
}
}
}