Workspace / Northwind PSP / Rules / Merchant volume spike — throttle
⌘K
read-only
SK

Merchant volume spike — throttle

draft v1

Defensive throttle for merchants whose volume jumps suspiciously.

by seed

Original English

If a merchant processes 100 or more card transactions within 60 seconds, throttle the merchant's API tier.

Compiled AST

{
  "name": "Merchant volume spike — throttle",
  "action": {
    "sink": "billing",
    "params": {
      "verb": "throttle_tier",
      "severity": "high"
    }
  },
  "stages": [
    {
      "id": "card_burst",
      "type": "counter",
      "match": {
        "eq": "card",
        "field": "method"
      },
      "stream": "payments",
      "requires_count": 100,
      "remember_for_seconds": 60
    }
  ],
  "join_key": "merchant_id",
  "description": "If a merchant processes 100 or more card transactions within 60 seconds, throttle the merchant's API tier."
}

Timeline

Created
2026-05-21 18:54