Skip to content
Merged
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.102.0"
".": "0.103.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 168
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-aca56b6e4da5b97e586e66392dd3cf433208cb964e25081a661dd41cf456a88a.yml
openapi_spec_hash: 297b9f330d31db8e5832463a0ce455ba
config_hash: 99dad20b4a7d4a1390670762b9da4231
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-e16df7d65a6ababc8e0ca1f2a65070893d82d3b2b046394ab708d56fe717b3ad.yml
openapi_spec_hash: ee82cf8fd5bb6b86abbae304f6c43934
config_hash: c6d56596249e319c59d49d8e49a190b1
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.103.0 (2025-08-18)

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

### Features

* **api:** adds Event types for additional API resources ([41e5b11](https://github.com/lithic-com/lithic-python/commit/41e5b1123172252c4afccd3524dd4a6f129a17d6))

## 0.102.0 (2025-08-13)

Full Changelog: [v0.101.0...v0.102.0](https://github.com/lithic-com/lithic-python/compare/v0.101.0...v0.102.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.102.0"
version = "0.103.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.102.0" # x-release-please-version
__version__ = "0.103.0" # x-release-please-version
8 changes: 8 additions & 0 deletions src/lithic/resources/account_activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def with_streaming_response(self) -> AccountActivityWithStreamingResponse:
def list(
self,
*,
account_token: str | NotGiven = NOT_GIVEN,
begin: Union[str, datetime] | NotGiven = NOT_GIVEN,
business_account_token: str | NotGiven = NOT_GIVEN,
category: Literal[
Expand Down Expand Up @@ -83,6 +84,8 @@ def list(
Retrieve a list of transactions across all public accounts.

Args:
account_token: Filter by account token

begin: Date string in RFC 3339 format. Only entries created after the specified time
will be included. UTC time zone.

Expand Down Expand Up @@ -125,6 +128,7 @@ def list(
timeout=timeout,
query=maybe_transform(
{
"account_token": account_token,
"begin": begin,
"business_account_token": business_account_token,
"category": category,
Expand Down Expand Up @@ -206,6 +210,7 @@ def with_streaming_response(self) -> AsyncAccountActivityWithStreamingResponse:
def list(
self,
*,
account_token: str | NotGiven = NOT_GIVEN,
begin: Union[str, datetime] | NotGiven = NOT_GIVEN,
business_account_token: str | NotGiven = NOT_GIVEN,
category: Literal[
Expand Down Expand Up @@ -243,6 +248,8 @@ def list(
Retrieve a list of transactions across all public accounts.

Args:
account_token: Filter by account token

begin: Date string in RFC 3339 format. Only entries created after the specified time
will be included. UTC time zone.

Expand Down Expand Up @@ -285,6 +292,7 @@ def list(
timeout=timeout,
query=maybe_transform(
{
"account_token": account_token,
"begin": begin,
"business_account_token": business_account_token,
"category": category,
Expand Down
24 changes: 20 additions & 4 deletions src/lithic/resources/book_transfers.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ def create(
"TRANSFER",
],
token: str | NotGiven = NOT_GIVEN,
external_id: str | NotGiven = NOT_GIVEN,
memo: str | NotGiven = NOT_GIVEN,
on_closed_account: Literal["FAIL", "USE_SUSPENSE"] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand All @@ -99,7 +101,7 @@ def create(
account and card

Args:
amount: Amount to be transferred in the currencys smallest unit (e.g., cents for USD).
amount: Amount to be transferred in the currency's smallest unit (e.g., cents for USD).
This should always be a positive value.

category: Category of the book transfer
Expand All @@ -112,13 +114,17 @@ def create(
to_financial_account_token: Globally unique identifier for the financial account or card that will receive
the funds. Accepted type dependent on the program's use case.

type: Type of book_transfer
type: Type of the book transfer

token: Customer-provided token that will serve as an idempotency token. This token will
become the transaction token.

external_id: External ID defined by the customer

memo: Optional descriptor for the transfer.

on_closed_account: What to do if the financial account is closed when posting an operation

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand All @@ -138,7 +144,9 @@ def create(
"to_financial_account_token": to_financial_account_token,
"type": type,
"token": token,
"external_id": external_id,
"memo": memo,
"on_closed_account": on_closed_account,
},
book_transfer_create_params.BookTransferCreateParams,
),
Expand Down Expand Up @@ -373,7 +381,9 @@ async def create(
"TRANSFER",
],
token: str | NotGiven = NOT_GIVEN,
external_id: str | NotGiven = NOT_GIVEN,
memo: str | NotGiven = NOT_GIVEN,
on_closed_account: Literal["FAIL", "USE_SUSPENSE"] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand All @@ -386,7 +396,7 @@ async def create(
account and card

Args:
amount: Amount to be transferred in the currencys smallest unit (e.g., cents for USD).
amount: Amount to be transferred in the currency's smallest unit (e.g., cents for USD).
This should always be a positive value.

category: Category of the book transfer
Expand All @@ -399,13 +409,17 @@ async def create(
to_financial_account_token: Globally unique identifier for the financial account or card that will receive
the funds. Accepted type dependent on the program's use case.

type: Type of book_transfer
type: Type of the book transfer

token: Customer-provided token that will serve as an idempotency token. This token will
become the transaction token.

external_id: External ID defined by the customer

memo: Optional descriptor for the transfer.

on_closed_account: What to do if the financial account is closed when posting an operation

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand All @@ -425,7 +439,9 @@ async def create(
"to_financial_account_token": to_financial_account_token,
"type": type,
"token": token,
"external_id": external_id,
"memo": memo,
"on_closed_account": on_closed_account,
},
book_transfer_create_params.BookTransferCreateParams,
),
Expand Down
3 changes: 3 additions & 0 deletions src/lithic/types/account_activity_list_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@


class AccountActivityListParams(TypedDict, total=False):
account_token: str
"""Filter by account token"""

begin: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]
"""Date string in RFC 3339 format.

Expand Down
Loading