Skip to main content
gauge
security

Velocity Limits

VelocityLimits

Declines a payment that would take a sender or a counterparty past a count or dollar limit over the last hour, day or week, before any funds are escrowed.

Published November 25, 2026

Execution Phases

This control can execute during the following transaction phases.

Pre-EscrowExecutes before funds are locked in escrow

Configuration

This control accepts the following configuration parameters.

{
  "type": "object",
  "properties": {
    "sender": {
      "type": "object",
      "title": "Sender limits",
      "properties": {
        "oneDay": {
          "type": "object",
          "title": "Last 24 hours",
          "properties": {
            "maxCount": {
              "type": "integer",
              "title": "Most payments",
              "minimum": 1,
              "description": "Leave empty for no count limit in this window."
            },
            "maxAmount": {
              "type": "number",
              "title": "Most dollars",
              "description": "Leave empty for no dollar limit in this window. In USD.",
              "exclusiveMinimum": 0
            }
          },
          "additionalProperties": false
        },
        "oneHour": {
          "type": "object",
          "title": "Last hour",
          "properties": {
            "maxCount": {
              "type": "integer",
              "title": "Most payments",
              "minimum": 1,
              "description": "Leave empty for no count limit in this window."
            },
            "maxAmount": {
              "type": "number",
              "title": "Most dollars",
              "description": "Leave empty for no dollar limit in this window. In USD.",
              "exclusiveMinimum": 0
            }
          },
          "additionalProperties": false
        },
        "sevenDays": {
          "type": "object",
          "title": "Last 7 days",
          "properties": {
            "maxCount": {
              "type": "integer",
              "title": "Most payments",
              "minimum": 1,
              "description": "Leave empty for no count limit in this window."
            },
            "maxAmount": {
              "type": "number",
              "title": "Most dollars",
              "description": "Leave empty for no dollar limit in this window. In USD.",
              "exclusiveMinimum": 0
            }
          },
          "additionalProperties": false
        }
      },
      "description": "Limits on everything one sender has sent from this workspace.",
      "additionalProperties": false
    },
    "counterparty": {
      "type": "object",
      "title": "Counterparty limits",
      "properties": {
        "oneDay": {
          "type": "object",
          "title": "Last 24 hours",
          "properties": {
            "maxCount": {
              "type": "integer",
              "title": "Most payments",
              "minimum": 1,
              "description": "Leave empty for no count limit in this window."
            },
            "maxAmount": {
              "type": "number",
              "title": "Most dollars",
              "description": "Leave empty for no dollar limit in this window. In USD.",
              "exclusiveMinimum": 0
            }
          },
          "additionalProperties": false
        },
        "oneHour": {
          "type": "object",
          "title": "Last hour",
          "properties": {
            "maxCount": {
              "type": "integer",
              "title": "Most payments",
              "minimum": 1,
              "description": "Leave empty for no count limit in this window."
            },
            "maxAmount": {
              "type": "number",
              "title": "Most dollars",
              "description": "Leave empty for no dollar limit in this window. In USD.",
              "exclusiveMinimum": 0
            }
          },
          "additionalProperties": false
        },
        "sevenDays": {
          "type": "object",
          "title": "Last 7 days",
          "properties": {
            "maxCount": {
              "type": "integer",
              "title": "Most payments",
              "minimum": 1,
              "description": "Leave empty for no count limit in this window."
            },
            "maxAmount": {
              "type": "number",
              "title": "Most dollars",
              "description": "Leave empty for no dollar limit in this window. In USD.",
              "exclusiveMinimum": 0
            }
          },
          "additionalProperties": false
        }
      },
      "description": "Limits on everything this workspace has sent to one recipient address or account.",
      "additionalProperties": false
    },
    "declineReason": {
      "type": "string",
      "title": "Decline reason",
      "default": "Velocity limit reached",
      "description": "Message returned when a payment is declined."
    }
  }
}

Tags

velocitylimitsfraudbuilt-in

Documentation

Built-in check on this workspace’s own send history. For each rolling window (1 hour, 24 hours, 7 days) a limit caps the number of payments and/or their dollar total, separately per sender and per counterparty. The payment being checked counts toward its own limits. Sends in progress count as well as completed ones, so a burst cannot slip through before earlier sends settle; failed, refunded and rescinded sends do not count. Dollar totals add USD and USD stablecoins one to one; other currencies count toward the number of payments only. A sender is the customer when known, otherwise the sending address or account; a counterparty is the recipient address (stablecoin) or the beneficiary routing and account number (FedNow, RTP). Calls no outside service.