Skip to main content

DebitPreauthCountOrVolumePerConnector

Matches when the debit / preauthorize count or volume — at the merchant level or for a specific connector — over a configured time window crosses a configured threshold. Shown as "Debit/Pre-Authorization count/volume per merchant/connector" in the condition catalogue. Use to route away from connectors that have reached a volume cap.

Parameters

All six parameters are required and sit at the top level of params.

FieldTypeAllowed values
valueReferencestring"merchant" to count merchant-wide, or a connector GUID to count only that connector's transactions
valueUnitstring"count" (number of transactions) or "volume" (sum of transaction amounts)
timeReferencestringA numeric string indicating how many units of time to look back, e.g. "24" (window capped at 61 days)
timeUnitstring"seconds", "minutes", "hours", "days"
comparatorstring"=", ">", ">=", "<", "<="
valuestringThe threshold to compare against, as a numeric string, e.g. "1000"

Example

Match when a specific connector has processed more than 1000 of volume in the last hour:

{
"constraint": "DebitPreauthCountOrVolumePerConnector",
"params": {
"valueReference": "CO-1234-5678-...",
"valueUnit": "volume",
"timeReference": "1",
"timeUnit": "hours",
"comparator": ">=",
"value": "1000"
}
}

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" as valueReference to count across all of the merchant's connectors. To scope to a specific connector, pass that connector's GUID instead.
  • timeReference and value are sent as numeric strings (e.g. "1", "1000"), not as JSON numbers.
  • valueUnit and timeUnit use 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.