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.129.0"
".": "0.129.1"
}
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-9e397c65ffb81e2928b8ecf979769a79131ae6058b6fb373a5e930dc8a168732.yml
openapi_spec_hash: 93aea3855d2d1c390107d223762aa818
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-1514911f233cb8bf0d6752c45bfa53a61b8f9b8ff215a4ea94a95f9505911000.yml
openapi_spec_hash: 9820a9c9a4ff778c627041eb53fd4ee5
config_hash: 5bb913c05ebeb301ec925b16e75bb251
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.129.1 (2026-07-09)

Full Changelog: [v0.129.0...v0.129.1](https://github.com/lithic-com/lithic-python/compare/v0.129.0...v0.129.1)

### Documentation

* **api:** clarify simulate_clearing behavior in transactions ([85d2d96](https://github.com/lithic-com/lithic-python/commit/85d2d9657022d3e7848477b329ba7f347efa7007))

## 0.129.0 (2026-06-29)

Full Changelog: [v0.128.0...v0.129.0](https://github.com/lithic-com/lithic-python/compare/v0.128.0...v0.129.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.129.0"
version = "0.129.1"
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.129.0" # x-release-please-version
__version__ = "0.129.1" # x-release-please-version
28 changes: 16 additions & 12 deletions src/lithic/resources/transactions/transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,9 +470,10 @@ def simulate_clearing(
After this event, the
transaction transitions from `PENDING` to `SETTLED` status.

If `amount` is not set, the full amount of the transaction will be cleared.
Transactions that have already cleared, either partially or fully, cannot be
cleared again using this endpoint.
If `amount` is not set, the full amount of the transaction will be cleared. This
endpoint may be called multiple times against the same authorization to simulate
a multiple-completion scenario, with each call creating a separate clearing
event.

Args:
token: The transaction token returned from the /v1/simulate/authorize response.
Expand All @@ -483,9 +484,10 @@ def simulate_clearing(
example, entering 100 in this field will result in a -100 amount in the
transaction, if the original authorization is a credit authorization.

If `amount` is not set, the full amount of the transaction will be cleared.
Transactions that have already cleared, either partially or fully, cannot be
cleared again using this endpoint.
If `amount` is not set, the full amount of the transaction will be cleared. This
endpoint may be called multiple times against the same authorization to simulate
a multiple-completion scenario, with each call creating a separate clearing
event.

extra_headers: Send extra headers

Expand Down Expand Up @@ -1214,9 +1216,10 @@ async def simulate_clearing(
After this event, the
transaction transitions from `PENDING` to `SETTLED` status.

If `amount` is not set, the full amount of the transaction will be cleared.
Transactions that have already cleared, either partially or fully, cannot be
cleared again using this endpoint.
If `amount` is not set, the full amount of the transaction will be cleared. This
endpoint may be called multiple times against the same authorization to simulate
a multiple-completion scenario, with each call creating a separate clearing
event.

Args:
token: The transaction token returned from the /v1/simulate/authorize response.
Expand All @@ -1227,9 +1230,10 @@ async def simulate_clearing(
example, entering 100 in this field will result in a -100 amount in the
transaction, if the original authorization is a credit authorization.

If `amount` is not set, the full amount of the transaction will be cleared.
Transactions that have already cleared, either partially or fully, cannot be
cleared again using this endpoint.
If `amount` is not set, the full amount of the transaction will be cleared. This
endpoint may be called multiple times against the same authorization to simulate
a multiple-completion scenario, with each call creating a separate clearing
event.

extra_headers: Send extra headers

Expand Down
7 changes: 4 additions & 3 deletions src/lithic/types/transaction_simulate_clearing_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ class TransactionSimulateClearingParams(TypedDict, total=False):
will result in a -100 amount in the transaction, if the original authorization
is a credit authorization.

If `amount` is not set, the full amount of the transaction will be cleared.
Transactions that have already cleared, either partially or fully, cannot be
cleared again using this endpoint.
If `amount` is not set, the full amount of the transaction will be cleared. This
endpoint may be called multiple times against the same authorization to simulate
a multiple-completion scenario, with each call creating a separate clearing
event.
"""