Skip to content

Commit 64068f8

Browse files
feat(api): Add limit_cash_amount and limit_cash_count to VelocityLimit template
1 parent a345491 commit 64068f8

3 files changed

Lines changed: 36 additions & 2 deletions

File tree

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 213
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-59c09c7355b21b663e001d2ee1086ebd0a70d9b5433823282bca296eedff9eb0.yml
3-
openapi_spec_hash: d9c3b932c810809abc6e973d662ad376
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-1d6c7b672aa49dfe0fe5175965307f63a0ed42c13697b2f9f3b9275f32331937.yml
3+
openapi_spec_hash: 06e73960c7506484c589d718fa1ddad8
44
config_hash: 337a99d8cc30006358b7bc2531401669

‎src/lithic/types/auth_rules/velocity_limit_params.py‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,23 @@ class VelocityLimitParams(BaseModel):
2626
limit will be declined.
2727
"""
2828

29+
limit_cash_amount: Optional[int] = None
30+
"""
31+
The maximum amount of cash spend velocity allowed in the period in minor units
32+
(the smallest unit of a currency, e.g. cents for USD). Cash spend covers ATM
33+
withdrawals, cash disbursements, and purchases with cashback. Transactions
34+
exceeding this limit will be declined.
35+
"""
36+
37+
limit_cash_count: Optional[int] = None
38+
"""
39+
The number of cash spend velocity impacting transactions may not exceed this
40+
limit in the period. Transactions exceeding this limit will be declined. A cash
41+
velocity impacting transaction is an ATM withdrawal, cash disbursement, or
42+
purchase with cashback that has been authorized, and optionally settled, or a
43+
force post (a transaction that settled without prior authorization).
44+
"""
45+
2946
limit_count: Optional[int] = None
3047
"""
3148
The number of spend velocity impacting transactions may not exceed this limit in

‎src/lithic/types/auth_rules/velocity_limit_params_param.py‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,23 @@ class VelocityLimitParamsParam(TypedDict, total=False):
2727
limit will be declined.
2828
"""
2929

30+
limit_cash_amount: Optional[int]
31+
"""
32+
The maximum amount of cash spend velocity allowed in the period in minor units
33+
(the smallest unit of a currency, e.g. cents for USD). Cash spend covers ATM
34+
withdrawals, cash disbursements, and purchases with cashback. Transactions
35+
exceeding this limit will be declined.
36+
"""
37+
38+
limit_cash_count: Optional[int]
39+
"""
40+
The number of cash spend velocity impacting transactions may not exceed this
41+
limit in the period. Transactions exceeding this limit will be declined. A cash
42+
velocity impacting transaction is an ATM withdrawal, cash disbursement, or
43+
purchase with cashback that has been authorized, and optionally settled, or a
44+
force post (a transaction that settled without prior authorization).
45+
"""
46+
3047
limit_count: Optional[int]
3148
"""
3249
The number of spend velocity impacting transactions may not exceed this limit in

0 commit comments

Comments
 (0)