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.125.0"
".": "0.126.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: 194
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-efe780032e44b3cf0f6914407e43bce6aa7176fa50aa6ec018f93c1f28af8490.yml
openapi_spec_hash: fcb4ca53ca59978f23f21d7c74fcc0b0
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-c1cfc621309e4d49899f9b055c399d7ad3eb24c05bad299322c1e03804d3d130.yml
openapi_spec_hash: 799d9da903ff2e4d51fe3f1566d17c92
config_hash: a0a579b0564a5c18568a78f5ba2b6653
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.126.0 (2026-05-28)

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

### Features

* **api:** Add created field and make completed_at nullable in latest_challenge ([126641d](https://github.com/lithic-com/lithic-python/commit/126641d827512c68dfef741d7a6a053cbfe94f12))


### Documentation

* **api:** update support contact URL in cards/account/card documentation ([71b5283](https://github.com/lithic-com/lithic-python/commit/71b5283efe22257a9a706ebc41ba51c523775d5c))

## 0.125.0 (2026-05-26)

Full Changelog: [v0.124.0...v0.125.0](https://github.com/lithic-com/lithic-python/compare/v0.124.0...v0.125.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.125.0"
version = "0.126.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.125.0" # x-release-please-version
__version__ = "0.126.0" # x-release-please-version
8 changes: 4 additions & 4 deletions src/lithic/resources/cards/cards.py
Original file line number Diff line number Diff line change
Expand Up @@ -1200,8 +1200,8 @@ def search_by_pan(

Customers must be PCI
compliant to use this endpoint. Please contact
[support@lithic.com](mailto:support@lithic.com) for questions. _Note: this is a
`POST` endpoint because it is more secure to send sensitive data in a request
[support.lithic.com](https://support.lithic.com/) for questions. _Note: this is
a `POST` endpoint because it is more secure to send sensitive data in a request
body than in a URL._

Args:
Expand Down Expand Up @@ -2428,8 +2428,8 @@ async def search_by_pan(

Customers must be PCI
compliant to use this endpoint. Please contact
[support@lithic.com](mailto:support@lithic.com) for questions. _Note: this is a
`POST` endpoint because it is more secure to send sensitive data in a request
[support.lithic.com](https://support.lithic.com/) for questions. _Note: this is
a `POST` endpoint because it is more secure to send sensitive data in a request
body than in a URL._

Args:
Expand Down
2 changes: 1 addition & 1 deletion src/lithic/types/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class Account(BaseModel):
accounts are unable to be transitioned to `ACTIVE` or `PAUSED` states.
Accounts can be manually set to `CLOSED`, or this can be done by Lithic due to
failure to pass KYB/KYC or for risk/compliance reasons. Please contact
[support@lithic.com](mailto:support@lithic.com) if you believe this was done
[support.lithic.com](https://support.lithic.com/) if you believe this was done
by mistake.
"""

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 @@ -19,5 +19,5 @@ class Card(NonPCICard):
"""Primary Account Number (PAN) (i.e.

the card number). Customers must be PCI compliant to have PAN returned as a
field in production. Please contact support@lithic.com for questions.
field in production. Please contact https://support.lithic.com/ for questions.
"""
15 changes: 9 additions & 6 deletions src/lithic/types/card_authorization.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,15 @@ class LatestChallenge(BaseModel):
The latest Authorization Challenge that was issued to the cardholder for this merchant.
"""

completed_at: Optional[datetime] = None
"""The date and time when the Authorization Challenge was completed in UTC.

Filled only if the challenge has been completed.
"""

created: datetime
"""The date and time when the Authorization Challenge was created in UTC"""

method: Literal["SMS", "OUT_OF_BAND"]
"""The method used to deliver the challenge to the cardholder

Expand All @@ -224,12 +233,6 @@ class LatestChallenge(BaseModel):
- `ERROR` - There was an error processing the challenge
"""

completed_at: Optional[datetime] = None
"""The date and time when the Authorization Challenge was completed in UTC.

Present only if the status is `COMPLETED`.
"""


class NetworkSpecificDataMastercardOnBehalfServiceResult(BaseModel):
result_1: str
Expand Down