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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion API_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
91ef4c6abe8dcdab3a855d81aa624693a6a4da9f
88aa59022b32620f4d66d6196e3b42d5a0f86bbb
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ This release changes the pinned API version to `2025-11-17.preview`.
* Remove support for thin events `V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent`, `V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent`, `V2PaymentsOffSessionPaymentCanceledEvent`, `V2PaymentsOffSessionPaymentCreatedEvent`, `V2PaymentsOffSessionPaymentFailedEvent`, `V2PaymentsOffSessionPaymentRequiresCaptureEvent`, and `V2PaymentsOffSessionPaymentSucceededEvent` with related object `v2.payments.OffSessionPayment`
* [#1670](https://github.com/stripe/stripe-python/pull/1670) Ramya/merge python beta

## 14.0.1 - 2025-11-21
* [#1684](https://github.com/stripe/stripe-python/pull/1684) Update generated code
* `stripe.error` module is now accessible globally. Fixes [#1682](https://github.com/stripe/stripe-python/issues/1682)
* [#1681](https://github.com/stripe/stripe-python/pull/1681) Throw a specific error when accessing `payment_intent` property on `Invoice` object to ease debugging.

## 14.0.0 - 2025-11-18
This release changes the pinned API version to `2025-11-17.clover`.

Expand Down
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2125
v2140
3 changes: 3 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ install group: venv
# always log deps in CI, but don't do it locally
python -I -m pip install -r deps/{{ group }}-requirements.txt --disable-pip-version-check {{ if env("CI", "") == "true" {""} else if is_dependency() == "true" {"--quiet"} else {""} }}

update-certs:
curl -o stripe/data/ca-certificates.crt https://curl.se/ca/cacert.pem

# create a virtualenv if it doesn't exist; always installs the local package
[private]
venv:
Expand Down
8 changes: 8 additions & 0 deletions stripe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ def add_beta_version(

if TYPE_CHECKING:
from stripe import (
_error as error,
apps as apps,
billing as billing,
billing_portal as billing_portal,
Expand All @@ -159,6 +160,7 @@ def add_beta_version(
privacy as privacy,
radar as radar,
reporting as reporting,
reserve as reserve,
sigma as sigma,
tax as tax,
terminal as terminal,
Expand Down Expand Up @@ -322,6 +324,7 @@ def add_beta_version(
AuthenticationError as AuthenticationError,
BlockedByStripeError as BlockedByStripeError,
CardError as CardError,
ControlledByAlternateResourceError as ControlledByAlternateResourceError,
ControlledByDashboardError as ControlledByDashboardError,
FeatureNotEnabledError as FeatureNotEnabledError,
FinancialAccountNotOpenError as FinancialAccountNotOpenError,
Expand Down Expand Up @@ -509,6 +512,7 @@ def add_beta_version(
from stripe._reporting_service import ReportingService as ReportingService
from stripe._request_options import RequestOptions as RequestOptions
from stripe._requestor_options import RequestorOptions as RequestorOptions
from stripe._reserve_service import ReserveService as ReserveService
from stripe._reserve_transaction import (
ReserveTransaction as ReserveTransaction,
)
Expand Down Expand Up @@ -618,6 +622,7 @@ def add_beta_version(

# name -> (import_target, is_submodule)
_import_map = {
"error": ("stripe._error", True),
"apps": ("stripe.apps", True),
"billing": ("stripe.billing", True),
"billing_portal": ("stripe.billing_portal", True),
Expand All @@ -634,6 +639,7 @@ def add_beta_version(
"privacy": ("stripe.privacy", True),
"radar": ("stripe.radar", True),
"reporting": ("stripe.reporting", True),
"reserve": ("stripe.reserve", True),
"sigma": ("stripe.sigma", True),
"tax": ("stripe.tax", True),
"terminal": ("stripe.terminal", True),
Expand Down Expand Up @@ -763,6 +769,7 @@ def add_beta_version(
"AuthenticationError": ("stripe._error", False),
"BlockedByStripeError": ("stripe._error", False),
"CardError": ("stripe._error", False),
"ControlledByAlternateResourceError": ("stripe._error", False),
"ControlledByDashboardError": ("stripe._error", False),
"FeatureNotEnabledError": ("stripe._error", False),
"FinancialAccountNotOpenError": ("stripe._error", False),
Expand Down Expand Up @@ -919,6 +926,7 @@ def add_beta_version(
"ReportingService": ("stripe._reporting_service", False),
"RequestOptions": ("stripe._request_options", False),
"RequestorOptions": ("stripe._requestor_options", False),
"ReserveService": ("stripe._reserve_service", False),
"ReserveTransaction": ("stripe._reserve_transaction", False),
"Reversal": ("stripe._reversal", False),
"Review": ("stripe._review", False),
Expand Down
Loading
Loading