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 API_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7684500f9744e3dbcd9b4b87db96f2e919c105aa
441c0fcde75bcbf836f1a1810d5b9cfe8e8a7da4
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2110
v2116
2 changes: 1 addition & 1 deletion stripe/_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,7 @@ class Invoices(StripeObject):
Literal["always", "never", "offer"]
]
"""
Whether to save the payment method after a payment is completed for a one-time invoice or a subscription invoice when the customer already has a default payment method on the hosted invoice page.
Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page.
"""

class Payments(StripeObject):
Expand Down
2 changes: 1 addition & 1 deletion stripe/_api_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
class _ApiVersion:
CURRENT = "2025-09-30.preview"
CURRENT = "2025-10-29.preview"
2 changes: 1 addition & 1 deletion stripe/_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -1406,7 +1406,7 @@ class TaxRateDetails(StripeObject):
* `subscription_cycle`: A subscription advanced into a new period.
* `subscription_threshold`: A subscription reached a billing threshold.
* `subscription_update`: A subscription was updated.
* `upcoming`: Reserved for upcoming invoices created through the Create Preview Invoice API or when an `invoice.upcoming` event is generated for an upcoming invoice on a subscription.
* `upcoming`: Reserved for simulated invoices, per the upcoming invoice endpoint.
"""
collection_method: Literal["charge_automatically", "send_invoice"]
"""
Expand Down
4 changes: 0 additions & 4 deletions stripe/_object_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,10 +587,6 @@
"stripe.v2.reporting._report_run",
"ReportRun",
),
"v2.tax.automatic_rule": (
"stripe.v2.tax._automatic_rule",
"AutomaticRule",
),
# V2 Object classes: The end of the section generated from our OpenAPI spec
}

Expand Down
4 changes: 0 additions & 4 deletions stripe/_payment_intent.py
Original file line number Diff line number Diff line change
Expand Up @@ -2256,10 +2256,6 @@ class Routing(StripeObject):
Requested routing priority
"""

capture_method: Optional[Literal["manual", "manual_preferred"]]
"""
Controls when the funds will be captured from the customer's account.
"""
request_extended_authorization: Optional[bool]
"""
Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)
Expand Down
26 changes: 26 additions & 0 deletions stripe/_person.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,26 @@ class Error(StripeObject):
"""
_inner_class_types = {"alternatives": Alternative, "errors": Error}

class SelfReportedIncome(StripeObject):
amount: int
"""
Amount in the minor currency unit (e.g., cents for USD)
"""
currency: str
"""
Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
"""

class SelfReportedMonthlyHousingPayment(StripeObject):
amount: int
"""
Amount in the minor currency unit (e.g., cents for USD)
"""
currency: str
"""
Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
"""

class UsCfpbData(StripeObject):
class EthnicityDetails(StripeObject):
ethnicity: Optional[
Expand Down Expand Up @@ -747,6 +767,10 @@ class Document(StripeObject):
"""
Information about the requirements for this person, including what information needs to be collected, and by when.
"""
self_reported_income: Optional[SelfReportedIncome]
self_reported_monthly_housing_payment: Optional[
SelfReportedMonthlyHousingPayment
]
ssn_last_4_provided: Optional[bool]
"""
Whether the last four digits of the person's Social Security number have been provided (U.S. only).
Expand Down Expand Up @@ -792,6 +816,8 @@ def retrieve(cls, id, **params):
"registered_address": RegisteredAddress,
"relationship": Relationship,
"requirements": Requirements,
"self_reported_income": SelfReportedIncome,
"self_reported_monthly_housing_payment": SelfReportedMonthlyHousingPayment,
"us_cfpb_data": UsCfpbData,
"verification": Verification,
}
Loading