Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.130.0"
".": "0.131.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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-c150a226e74fdd73925fcba89261022e91a6d4f57dbb305a54063499641427ae.yml
openapi_spec_hash: 1df81bae378c3cbf265b0fb4cefa2969
config_hash: 337a99d8cc30006358b7bc2531401669
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/lithic/_version.py
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions src/lithic/resources/tokenizations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down
17 changes: 17 additions & 0 deletions src/lithic/types/auth_rules/velocity_limit_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 17 additions & 0 deletions src/lithic/types/auth_rules/velocity_limit_params_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/lithic/types/card.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 7 additions & 1 deletion src/lithic/types/financial_account.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/lithic/types/tokenization_simulate_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down