How Limits Are Evaluated
Which limits apply to a transaction, what counts toward them, and worked examples.
This page explains which limits apply to a transaction and what counts toward them. For the amounts, see Default and Custom Limits. Most limits cap the dollar amount of transactions in a rolling window. Some custom limits cap the number of transactions instead.
How limits are evaluated
When a transaction is requested, Sila:
- Finds every limit that covers the transaction. That depends on the transaction type, such as an ACH debit, and for per-user limits, on whether the end user is an individual or a business.
- For each level (the end user and the application) and each window length, takes your application's custom limit for that window if it has one, and the default limit otherwise. A temporary limit that Sila sets replaces the limit for its window until it expires.
- Checks each of those limits against its window's total, including the new transaction. Per-user limits count only that end user's transactions. App-wide limits count the transactions of all the application's end users.
- Denies the transaction if it would exceed any of them. When more than one is exceeded, the
messagenames an amount limit before a count limit, and a per-user limit before an app-wide one.
What counts toward a limit
- Every transaction requested in the window counts from the moment it's created, whatever happens to it later. That includes transactions that later fail or are returned.
- A transaction that a limit denies isn't created, so it doesn't count.
- A custom limit, including a temporary one, counts only transactions requested since it took effect. A new custom limit starts with its whole amount available.
- Windows are rolling. A transaction stops counting exactly 24 hours, or 30 days, after it was requested. There is no daily or monthly reset.
Examples
Example: the 24-hour limit
A KYC user with no transaction requests in the previous 24 hours:
| Action | Consequence |
|---|---|
| 9 am (day 1): The user requests a $9,000 debit | For the next 24 hours the user can request up to $1,000 of ACH debits |
| 3 pm (day 1): The user requests a $1,000 debit | For the next 18 hours the user can't make any more ACH debits, because they have reached their 24-hour limit |
| 9:01 am (next day): 24 hours have passed since the first request. The user can now request up to $9,000 again, but does nothing | |
| 3:01 pm (next day): The user's rolling 24-hour limit is back to $10,000 |
Example: the app-wide limit
Your application's end users have together debited nearly its app-wide 24-hour limit. An individual who hasn't debited anything today requests a $500 debit, which would take the application over that limit. Sila denies the request with a 403 that names the app-wide limit, even though the individual is well within their own $10,000 limit.
| ← Previous | Next → |
|---|---|
| Default and Custom Limits | Limits in API Responses |
Updated 26 minutes ago
