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 .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ USER vscode
RUN curl -sSf https://rye.astral.sh/get | RYE_VERSION="0.35.0" RYE_INSTALL_OPTION="--yes" bash
ENV PATH=/home/vscode/.rye/shims:$PATH

RUN echo "[[ -d .venv ]] && source .venv/bin/activate" >> /home/vscode/.bashrc
RUN echo "[[ -d .venv ]] && source .venv/bin/activate || export PATH=\$PATH" >> /home/vscode/.bashrc
3 changes: 3 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
}
}
}
},
"features": {
"ghcr.io/devcontainers/features/node:1": {}
}

// Features to add to the dev container. More info: https://containers.dev/features.
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ jobs:
run: |
rye sync --all-features

- env:
LITHIC_API_KEY: ${{ secrets.LITHIC_API_KEY }}
run: |
rye run python ./examples/transactions.py
# comment out for now while this is failing
# - env:
# LITHIC_API_KEY: ${{ secrets.LITHIC_API_KEY }}
# run: |
# rye run python ./examples/transactions.py
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.85.0"
".": "0.86.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 153
configured_endpoints: 154
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# Changelog

## 0.86.0 (2025-03-12)

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

### Features

* **api:** new Settlement API endpoints and changes to update Account Holder endpoint ([#705](https://github.com/lithic-com/lithic-python/issues/705)) ([adccabb](https://github.com/lithic-com/lithic-python/commit/adccabbec1e63fe8bf74c18bdccc21c3f16ea142))
* **client:** allow passing `NotGiven` for body ([#697](https://github.com/lithic-com/lithic-python/issues/697)) ([0291f1f](https://github.com/lithic-com/lithic-python/commit/0291f1fa45b0813e995f042d4483c75324f03de0))
* **client:** update currency data type ([#709](https://github.com/lithic-com/lithic-python/issues/709)) ([b4a72ac](https://github.com/lithic-com/lithic-python/commit/b4a72ac8ad6c21f47d78f792b98364b500889e86))


### Bug Fixes

* **client:** mark some request bodies as optional ([0291f1f](https://github.com/lithic-com/lithic-python/commit/0291f1fa45b0813e995f042d4483c75324f03de0))
* **internal:** re-add portion of workflow to make CI happy ([d8c191f](https://github.com/lithic-com/lithic-python/commit/d8c191feaba90f6c0e3f1662610866dd382a6992))
* **internal:** skip failing transaction example ([df1bd93](https://github.com/lithic-com/lithic-python/commit/df1bd93a57fe01df54dc51476238523bf0c1ec54))


### Chores

* **api:** adds new `Internal` Category for FinancialTransactions ([#701](https://github.com/lithic-com/lithic-python/issues/701)) ([17c0aa5](https://github.com/lithic-com/lithic-python/commit/17c0aa5eccc116d6d24ff10b6b3500b632a3c000))
* **api:** release of Network Totals reporting and new filters for Velocity Limit Rules ([#708](https://github.com/lithic-com/lithic-python/issues/708)) ([e6dc1d1](https://github.com/lithic-com/lithic-python/commit/e6dc1d1739badfbc1bf58f477916c3a049b2b7d7))
* **client:** deprecate some fields ([b4a72ac](https://github.com/lithic-com/lithic-python/commit/b4a72ac8ad6c21f47d78f792b98364b500889e86))
* **docs:** update client docstring ([#703](https://github.com/lithic-com/lithic-python/issues/703)) ([a00fdff](https://github.com/lithic-com/lithic-python/commit/a00fdff57f4a593cb27ac988c08a18b7586ba690))
* **internal:** fix devcontainers setup ([#699](https://github.com/lithic-com/lithic-python/issues/699)) ([2a59b0b](https://github.com/lithic-com/lithic-python/commit/2a59b0be559f29d3da58658bd690a7f9d3a91d49))
* **internal:** properly set __pydantic_private__ ([#700](https://github.com/lithic-com/lithic-python/issues/700)) ([e7db283](https://github.com/lithic-com/lithic-python/commit/e7db283b63cc1158150e7067545de655a9236690))


### Documentation

* update some descriptions ([b4a72ac](https://github.com/lithic-com/lithic-python/commit/b4a72ac8ad6c21f47d78f792b98364b500889e86))
* update URLs from stainlessapi.com to stainless.com ([#702](https://github.com/lithic-com/lithic-python/issues/702)) ([84efefd](https://github.com/lithic-com/lithic-python/commit/84efefd92f231fec34d96845dcaf9a9ae2c4bd53))


### Refactors

* **client:** remove deprecated http client options ([#704](https://github.com/lithic-com/lithic-python/issues/704)) ([c745a2b](https://github.com/lithic-com/lithic-python/commit/c745a2b593ec7487810f0c5e4522e55e49602f4a))

## 0.85.0 (2025-02-13)

Full Changelog: [v0.84.0...v0.85.0](https://github.com/lithic-com/lithic-python/compare/v0.84.0...v0.85.0)
Expand Down
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

## Reporting Security Issues

This SDK is generated by [Stainless Software Inc](http://stainlessapi.com). Stainless takes security seriously, and encourages you to report any security vulnerability promptly so that appropriate action can be taken.
This SDK is generated by [Stainless Software Inc](http://stainless.com). Stainless takes security seriously, and encourages you to report any security vulnerability promptly so that appropriate action can be taken.

To report a security issue, please contact the Stainless team at security@stainlessapi.com.
To report a security issue, please contact the Stainless team at security@stainless.com.

## Responsible Disclosure

Expand Down
23 changes: 18 additions & 5 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ Types:
```python
from lithic.types import (
AccountHolder,
AddressUpdate,
KYB,
KYBBusinessEntity,
KYC,
KYCExempt,
RequiredDocument,
Expand Down Expand Up @@ -555,6 +557,7 @@ Methods:

- <code title="get /v1/three_ds_authentication/{three_ds_authentication_token}">client.three_ds.authentication.<a href="./src/lithic/resources/three_ds/authentication.py">retrieve</a>(three_ds_authentication_token) -> <a href="./src/lithic/types/three_ds/authentication_retrieve_response.py">AuthenticationRetrieveResponse</a></code>
- <code title="post /v1/three_ds_authentication/simulate">client.three_ds.authentication.<a href="./src/lithic/resources/three_ds/authentication.py">simulate</a>(\*\*<a href="src/lithic/types/three_ds/authentication_simulate_params.py">params</a>) -> <a href="./src/lithic/types/three_ds/authentication_simulate_response.py">AuthenticationSimulateResponse</a></code>
- <code title="post /v1/three_ds_decisioning/simulate/enter_otp">client.three_ds.authentication.<a href="./src/lithic/resources/three_ds/authentication.py">simulate_otp_entry</a>(\*\*<a href="src/lithic/types/three_ds/authentication_simulate_otp_entry_params.py">params</a>) -> None</code>

## Decisioning

Expand All @@ -565,7 +568,6 @@ from lithic.types.three_ds import (
ChallengeResponse,
ChallengeResult,
DecisioningRetrieveSecretResponse,
DecisioningSimulateChallengeResponse,
)
```

Expand All @@ -574,8 +576,6 @@ Methods:
- <code title="post /v1/three_ds_decisioning/challenge_response">client.three_ds.decisioning.<a href="./src/lithic/resources/three_ds/decisioning.py">challenge_response</a>(\*\*<a href="src/lithic/types/three_ds/decisioning_challenge_response_params.py">params</a>) -> None</code>
- <code title="get /v1/three_ds_decisioning/secret">client.three_ds.decisioning.<a href="./src/lithic/resources/three_ds/decisioning.py">retrieve_secret</a>() -> <a href="./src/lithic/types/three_ds/decisioning_retrieve_secret_response.py">DecisioningRetrieveSecretResponse</a></code>
- <code title="post /v1/three_ds_decisioning/secret/rotate">client.three_ds.decisioning.<a href="./src/lithic/resources/three_ds/decisioning.py">rotate_secret</a>() -> None</code>
- <code title="post /v1/three_ds_decisioning/simulate/challenge">client.three_ds.decisioning.<a href="./src/lithic/resources/three_ds/decisioning.py">simulate_challenge</a>(\*\*<a href="src/lithic/types/three_ds/decisioning_simulate_challenge_params.py">params</a>) -> <a href="./src/lithic/types/three_ds/decisioning_simulate_challenge_response.py">DecisioningSimulateChallengeResponse</a></code>
- <code title="post /v1/three_ds_decisioning/simulate/challenge_response">client.three_ds.decisioning.<a href="./src/lithic/resources/three_ds/decisioning.py">simulate_challenge_response</a>(\*\*<a href="src/lithic/types/three_ds/decisioning_simulate_challenge_response_params.py">params</a>) -> None</code>

# Reports

Expand All @@ -589,8 +589,21 @@ from lithic.types import SettlementDetail, SettlementReport, SettlementSummaryDe

Methods:

- <code title="get /v1/reports/settlement/details/{report_date}">client.reports.settlement.<a href="./src/lithic/resources/reports/settlement.py">list_details</a>(report_date, \*\*<a href="src/lithic/types/reports/settlement_list_details_params.py">params</a>) -> <a href="./src/lithic/types/settlement_detail.py">SyncCursorPage[SettlementDetail]</a></code>
- <code title="get /v1/reports/settlement/summary/{report_date}">client.reports.settlement.<a href="./src/lithic/resources/reports/settlement.py">summary</a>(report_date) -> <a href="./src/lithic/types/settlement_report.py">SettlementReport</a></code>
- <code title="get /v1/reports/settlement/details/{report_date}">client.reports.settlement.<a href="./src/lithic/resources/reports/settlement/settlement.py">list_details</a>(report_date, \*\*<a href="src/lithic/types/reports/settlement_list_details_params.py">params</a>) -> <a href="./src/lithic/types/settlement_detail.py">SyncCursorPage[SettlementDetail]</a></code>
- <code title="get /v1/reports/settlement/summary/{report_date}">client.reports.settlement.<a href="./src/lithic/resources/reports/settlement/settlement.py">summary</a>(report_date) -> <a href="./src/lithic/types/settlement_report.py">SettlementReport</a></code>

### NetworkTotals

Types:

```python
from lithic.types.reports.settlement import NetworkTotalRetrieveResponse, NetworkTotalListResponse
```

Methods:

- <code title="get /v1/reports/settlement/network_totals/{token}">client.reports.settlement.network_totals.<a href="./src/lithic/resources/reports/settlement/network_totals.py">retrieve</a>(token) -> <a href="./src/lithic/types/reports/settlement/network_total_retrieve_response.py">NetworkTotalRetrieveResponse</a></code>
- <code title="get /v1/reports/settlement/network_totals">client.reports.settlement.network_totals.<a href="./src/lithic/resources/reports/settlement/network_totals.py">list</a>(\*\*<a href="src/lithic/types/reports/settlement/network_total_list_params.py">params</a>) -> <a href="./src/lithic/types/reports/settlement/network_total_list_response.py">SyncCursorPage[NetworkTotalListResponse]</a></code>

# CardPrograms

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.85.0"
version = "0.86.0"
description = "The official Python library for the lithic API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 2 additions & 0 deletions scripts/test
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ else
echo
fi

export DEFER_PYDANTIC_BUILD=false

echo "==> Running tests"
rye run pytest "$@"

Expand Down
Loading