From 64068f89bd9400b4e684b8eb1fdf5bdede893a36 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 3 Aug 2026 21:54:19 +0000 Subject: [PATCH 1/4] feat(api): Add limit_cash_amount and limit_cash_count to VelocityLimit template --- .stats.yml | 4 ++-- .../types/auth_rules/velocity_limit_params.py | 17 +++++++++++++++++ .../auth_rules/velocity_limit_params_param.py | 17 +++++++++++++++++ 3 files changed, 36 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 39c488a2..8fe8167c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 213 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-59c09c7355b21b663e001d2ee1086ebd0a70d9b5433823282bca296eedff9eb0.yml -openapi_spec_hash: d9c3b932c810809abc6e973d662ad376 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-1d6c7b672aa49dfe0fe5175965307f63a0ed42c13697b2f9f3b9275f32331937.yml +openapi_spec_hash: 06e73960c7506484c589d718fa1ddad8 config_hash: 337a99d8cc30006358b7bc2531401669 diff --git a/src/lithic/types/auth_rules/velocity_limit_params.py b/src/lithic/types/auth_rules/velocity_limit_params.py index 061a8de7..6914b7d9 100644 --- a/src/lithic/types/auth_rules/velocity_limit_params.py +++ b/src/lithic/types/auth_rules/velocity_limit_params.py @@ -26,6 +26,23 @@ class VelocityLimitParams(BaseModel): limit will be declined. """ + limit_cash_amount: Optional[int] = None + """ + The maximum amount of cash spend velocity allowed in the period in minor units + (the smallest unit of a currency, e.g. cents for USD). Cash spend covers ATM + withdrawals, cash disbursements, and purchases with cashback. Transactions + exceeding this limit will be declined. + """ + + limit_cash_count: Optional[int] = None + """ + The number of cash spend velocity impacting transactions may not exceed this + limit in the period. Transactions exceeding this limit will be declined. A cash + velocity impacting transaction is an ATM withdrawal, cash disbursement, or + purchase with cashback that has been authorized, and optionally settled, or a + force post (a transaction that settled without prior authorization). + """ + limit_count: Optional[int] = None """ The number of spend velocity impacting transactions may not exceed this limit in diff --git a/src/lithic/types/auth_rules/velocity_limit_params_param.py b/src/lithic/types/auth_rules/velocity_limit_params_param.py index e91557fa..8fe6b058 100644 --- a/src/lithic/types/auth_rules/velocity_limit_params_param.py +++ b/src/lithic/types/auth_rules/velocity_limit_params_param.py @@ -27,6 +27,23 @@ class VelocityLimitParamsParam(TypedDict, total=False): limit will be declined. """ + limit_cash_amount: Optional[int] + """ + The maximum amount of cash spend velocity allowed in the period in minor units + (the smallest unit of a currency, e.g. cents for USD). Cash spend covers ATM + withdrawals, cash disbursements, and purchases with cashback. Transactions + exceeding this limit will be declined. + """ + + limit_cash_count: Optional[int] + """ + The number of cash spend velocity impacting transactions may not exceed this + limit in the period. Transactions exceeding this limit will be declined. A cash + velocity impacting transaction is an ATM withdrawal, cash disbursement, or + purchase with cashback that has been authorized, and optionally settled, or a + force post (a transaction that settled without prior authorization). + """ + limit_count: Optional[int] """ The number of spend velocity impacting transactions may not exceed this limit in From 168e194dce255e6b907a65b3387dffec89ca0426 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 4 Aug 2026 14:24:34 +0000 Subject: [PATCH 2/4] feat(api): add blockchain_addresses field to financial account --- .stats.yml | 4 ++-- src/lithic/types/financial_account.py | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index 8fe8167c..e94c1fb8 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 213 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-1d6c7b672aa49dfe0fe5175965307f63a0ed42c13697b2f9f3b9275f32331937.yml -openapi_spec_hash: 06e73960c7506484c589d718fa1ddad8 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-81febc26f7987ef8f74f2038dddd4799a1e77b2c64d2fe36c2c9f2eb5079476b.yml +openapi_spec_hash: 91e4b19977ca68b988862e967be57d26 config_hash: 337a99d8cc30006358b7bc2531401669 diff --git a/src/lithic/types/financial_account.py b/src/lithic/types/financial_account.py index 28502aef..edfe9ed5 100644 --- a/src/lithic/types/financial_account.py +++ b/src/lithic/types/financial_account.py @@ -1,6 +1,6 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -from typing import Optional +from typing import Dict, Optional from datetime import datetime from typing_extensions import Literal @@ -80,4 +80,10 @@ class FinancialAccount(BaseModel): account_number: Optional[str] = None + blockchain_addresses: Optional[Dict[str, str]] = None + """ + Provisioned blockchain deposit addresses for this financial account, keyed by + the blockchain network that each address belongs to + """ + routing_number: Optional[str] = None From 8980c5219db6e83e4cc8e9d2445fbd223c24a728 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 5 Aug 2026 18:52:33 +0000 Subject: [PATCH 3/4] docs(api): clarify CVV format in tokenizations and card --- .stats.yml | 4 ++-- src/lithic/resources/tokenizations.py | 4 ++-- src/lithic/types/card.py | 2 +- src/lithic/types/tokenization_simulate_params.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.stats.yml b/.stats.yml index e94c1fb8..121e1a38 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 213 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-81febc26f7987ef8f74f2038dddd4799a1e77b2c64d2fe36c2c9f2eb5079476b.yml -openapi_spec_hash: 91e4b19977ca68b988862e967be57d26 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-c150a226e74fdd73925fcba89261022e91a6d4f57dbb305a54063499641427ae.yml +openapi_spec_hash: 1df81bae378c3cbf265b0fb4cefa2969 config_hash: 337a99d8cc30006358b7bc2531401669 diff --git a/src/lithic/resources/tokenizations.py b/src/lithic/resources/tokenizations.py index 34c28a48..7791b518 100644 --- a/src/lithic/resources/tokenizations.py +++ b/src/lithic/resources/tokenizations.py @@ -354,7 +354,7 @@ def simulate( and merchant tokenization ecosystem. Args: - cvv: The three digit cvv for the card. + cvv: The three or four digit CVV for the card. AMEX cards use four digit CVVs. expiration_date: The expiration date of the card in 'MM/YY' format. @@ -822,7 +822,7 @@ async def simulate( and merchant tokenization ecosystem. Args: - cvv: The three digit cvv for the card. + cvv: The three or four digit CVV for the card. AMEX cards use four digit CVVs. expiration_date: The expiration date of the card in 'MM/YY' format. diff --git a/src/lithic/types/card.py b/src/lithic/types/card.py index 3bb986c2..53c1eae0 100644 --- a/src/lithic/types/card.py +++ b/src/lithic/types/card.py @@ -13,7 +13,7 @@ class Card(NonPCICard): """ cvv: Optional[str] = None - """Three digit cvv printed on the back of the card.""" + """Three or four digit CVV printed on the card. Amex cards use four digit CVVs""" pan: Optional[str] = None """Primary Account Number (PAN) (i.e. diff --git a/src/lithic/types/tokenization_simulate_params.py b/src/lithic/types/tokenization_simulate_params.py index 1b04cf6e..560cda31 100644 --- a/src/lithic/types/tokenization_simulate_params.py +++ b/src/lithic/types/tokenization_simulate_params.py @@ -9,7 +9,7 @@ class TokenizationSimulateParams(TypedDict, total=False): cvv: Required[str] - """The three digit cvv for the card.""" + """The three or four digit CVV for the card. AMEX cards use four digit CVVs.""" expiration_date: Required[str] """The expiration date of the card in 'MM/YY' format.""" From bdeba3d7a0c11a58e660074a1450d6581d4dda90 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 5 Aug 2026 18:53:22 +0000 Subject: [PATCH 4/4] release: 0.131.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 14 ++++++++++++++ pyproject.toml | 2 +- src/lithic/_version.py | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 37e99723..a24ae611 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.130.0" + ".": "0.131.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 93037f6b..93a0a828 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 0.131.0 (2026-08-05) + +Full Changelog: [v0.130.0...v0.131.0](https://github.com/lithic-com/lithic-python/compare/v0.130.0...v0.131.0) + +### Features + +* **api:** add blockchain_addresses field to financial account ([168e194](https://github.com/lithic-com/lithic-python/commit/168e194dce255e6b907a65b3387dffec89ca0426)) +* **api:** Add limit_cash_amount and limit_cash_count to VelocityLimit template ([64068f8](https://github.com/lithic-com/lithic-python/commit/64068f89bd9400b4e684b8eb1fdf5bdede893a36)) + + +### Documentation + +* **api:** clarify CVV format in tokenizations and card ([8980c52](https://github.com/lithic-com/lithic-python/commit/8980c5219db6e83e4cc8e9d2445fbd223c24a728)) + ## 0.130.0 (2026-07-30) Full Changelog: [v0.129.0...v0.130.0](https://github.com/lithic-com/lithic-python/compare/v0.129.0...v0.130.0) diff --git a/pyproject.toml b/pyproject.toml index beb88420..0df4f166 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "lithic" -version = "0.130.0" +version = "0.131.0" description = "The official Python library for the lithic API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/lithic/_version.py b/src/lithic/_version.py index a8fc2b35..5e23cbfb 100644 --- a/src/lithic/_version.py +++ b/src/lithic/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "lithic" -__version__ = "0.130.0" # x-release-please-version +__version__ = "0.131.0" # x-release-please-version