Structuring Detection
StructuringDetection
Flags, holds for the bank’s approval, or declines a payment that completes a run of payments just under a reporting threshold within a rolling window, such as three payments of $9,500 against $10,000 in 24 hours. Checked before any funds are escrowed.
Published November 25, 2026Execution Phases
This control can execute during the following transaction phases.
Configuration
This control accepts the following configuration parameters.
{
"type": "object",
"required": [
"threshold"
],
"properties": {
"outcome": {
"enum": [
"flag",
"hold",
"block"
],
"type": "string",
"title": "Outcome",
"default": "flag",
"description": "Flag: the payment proceeds and the pattern is recorded for the bank’s BSA/AML review. Hold: the payment waits for the bank to approve or deny it. Block: the payment is declined."
},
"parties": {
"type": "array",
"items": {
"enum": [
"sender",
"counterparty"
],
"type": "string"
},
"title": "Look for the pattern by",
"default": [
"sender"
],
"minItems": 1,
"description": "Sender: one sender’s payments. Counterparty: payments from this workspace to one recipient, which catches several senders splitting an amount into one beneficiary. Each is checked on its own.",
"uniqueItems": true
},
"minCount": {
"type": "integer",
"title": "Payments in the band",
"default": 3,
"maximum": 100,
"minimum": 2,
"description": "How many payments in the band, this one included, make a pattern."
},
"threshold": {
"type": "number",
"title": "Threshold",
"maximum": 1000000000,
"description": "The amount payments are kept just under. In USD.",
"exclusiveMinimum": 0
},
"windowHours": {
"type": "integer",
"title": "Window (hours)",
"default": 24,
"maximum": 168,
"minimum": 1,
"description": "How far back to look, up to 7 days."
},
"declineReason": {
"type": "string",
"title": "Decline reason",
"default": "Payment pattern needs review",
"description": "Message returned when a payment is declined."
},
"bandLowerPercent": {
"type": "number",
"title": "Band starts at (% of threshold)",
"default": 90,
"maximum": 100,
"description": "A payment counts when it is at least this share of the threshold.",
"exclusiveMinimum": 0
},
"bandUpperPercent": {
"type": "number",
"title": "Band ends at (% of threshold)",
"default": 99.9,
"maximum": 100,
"description": "A payment counts when it is at most this share of the threshold.",
"exclusiveMinimum": 0
},
"approvalDeadlineMinutes": {
"type": "integer",
"title": "Approval deadline (minutes)",
"default": 1440,
"maximum": 10080,
"minimum": 5,
"description": "With the hold outcome, how long the bank has to decide before the payment is declined."
}
},
"additionalProperties": false
}Tags
Documentation
Built-in check on this workspace’s own send history, counted the same way as Velocity Limits: sends in progress count as well as completed ones; failed, refunded and rescinded sends do not; a batch counts once per leg. A payment is in the band when its amount is between the band’s start and end, as shares of the threshold, inclusive. Only USD and USD stablecoins are compared, one to one; a payment in another currency is never in the band. When the payment being checked is in the band and the window holds enough band payments by the same sender (or to the same counterparty) to reach the count, the result lists the payments that make up the pattern. With the flag outcome the payment proceeds and the result is a signal for the bank’s BSA/AML review. With the hold outcome it waits before escrow in the bank’s approval queue: the bank approves or denies it, and with no decision within `approvalDeadlineMinutes` (default 24 hours) it is declined. A batch, or a deployment where approval holds are off, is declined instead of held. With the block outcome it is declined before any funds are escrowed. Coinbax holds no funds and makes no release decision either way. Calls no outside service.