ChargebackCountOrVolumePerConnector
Matches when the chargeback count or volume — at the merchant level or for a specific connector — over a configured time window crosses a configured threshold. Shown as "Chargeback count/volume per merchant/connector" in the condition catalogue. Use to route away from connectors with elevated chargeback levels.
Parameters
All six parameters are required and sit at the top level of params.
| Field | Type | Allowed values |
|---|---|---|
valueReference | string | "merchant" to count merchant-wide, or a connector GUID to count only that connector's chargebacks |
valueUnit | string | "count" (number of chargebacks) or "volume" (sum of chargeback amounts) |
timeReference | string | A numeric string indicating how many units of time to look back, e.g. "7" (window capped at 61 days) |
timeUnit | string | "seconds", "minutes", "hours", "days" |
comparator | string | "=", ">", ">=", "<", "<=" |
value | string | The threshold to compare against, as a numeric string, e.g. "5" |
Example
Match when the merchant has had more than 5 chargebacks in the last 7 days:
{
"constraint": "ChargebackCountOrVolumePerConnector",
"params": {
"valueReference": "merchant",
"valueUnit": "count",
"timeReference": "7",
"timeUnit": "days",
"comparator": ">",
"value": "5"
}
}
Notes
- Availability: might not be included in your platform package — if this condition is missing from the catalogue returned by List routing constraints, contact your Customer Success Manager to have it activated.
- Use
"merchant"asvalueReferenceto count chargebacks across all of the merchant's connectors. To scope to a specific connector, pass that connector's GUID instead. timeReferenceandvalueare sent as numeric strings (e.g."7","5"), not as JSON numbers.valueUnitandtimeUnituse lowercase values ("count"/"volume"and"seconds"/"minutes"/"hours"/"days").- The look-back window is capped at 61 days — larger values are treated as 61 days.
- Available for routing meta-connectors only — not in multi-method routing documents.