Home / Issuing / Control Authorizations
Spend rule & velocity control results may not be visible for up to 15 seconds after a Transaction Event. See Spend rule latency.
Velocity controls allow time boundary constraints to be applied to a spend rule. The following example explains the difference between velocity controls and spend rules:
The following graphic shows how a velocity control is created and applied at the card product and payment card levels:
You can set velocity control time frames using several time windows. The following table describes available velocity control windows:
Velocity Rule Window | Description |
---|---|
DAILY | One calendar day, 00:00:00 UTC to 11:59.59:00 UTC |
WEEKLY | One calendar week, UTC start of week (Monday) to UTC end of week (Sunday) |
MONTHLY | One calendar month, UTC start of month to UTC end of month |
NINETY_DAYS | 90 calendar days moving window. One calendar day is from 00:00:00 UTC to 11:59.59:00 UTC |
QUARTERLY | One calendar quarter, UTC start of quarter to UTC end of quarter |
Q1: January - March, Q2: April - June, Q3: July - September, Q4: October - December | |
YEARLY | One calendar year, UTC start of year to UTC end of year |
PER_TRANSACTION | Velocity Rule is evaluated on every transaction individually |
COOLDOWN_MINUTE | Cooldown period of one minute, e.g., with count rule of 1, cardholder must wait one minute between transactions |
COOLDOWN_HOUR | Cooldown period of one hour, e.g., with count rule of 1, cardholder must wait one hour between transactions |
You can add three spend rules to a velocity control. Additionally, velocity controls have limits at the card product, financial account, and payment card levels:
To create velocity controls for an authorized user, ensure that the spend rules for that authorized user were created with "userType": "AUTHORIZED_USER"
. Other than that, there is no difference from the standard velocity control.
Note: An amount spend rule, or cumulative rule, is required to create a velocity control.
To create a velocity control, you must first create spend rules, one of which must be an amount rule. You can add up to three spend rules to a velocity control. Create the velocity rule with the spend rule IDs. Velocity controls authorize transactions based on whether the associated spend rule's conditions are met within the velocity control window.
The following example uses multiple spend rules to create a velocity control for airline purchases:
Use the following mutation to create a velocity control:
Velocity controls can be attached to a card product or individual payment card. Attaching a velocity control to a card product applies the spend rules and velocity control to all financial accounts and payment cards for your card product.
Use the following mutation to create a velocity control for a card product:
Velocity controls can be attached to a card product or individual payment card. Velocity controls attached to a payment card only apply to that specific payment card.
Use the following mutation to attach a velocity control to a payment card:
Note: If you detach and re-attach a velocity, the balance on the "count" and "windows" of the velocity control will reset.
Use the following mutation to detach a velocity control from a card product:
Note: If you detach and re-attach a velocity, the balance on the "count" and "windows" of the velocity control will reset.
Use the following mutation to detach a velocity control from a payment card:
Use the following query to find all velocity controls for your organization:
Velocity controls track how much money has been spent within a certain window to help troubleshoot declined transactions. You can check the "balance" of a velocity control for a payment card or financial account. The balance reflects the total amount spent.
Use the following query to find the velocity control balance on a financial account: