diff --git a/CODEGEN_VERSION b/CODEGEN_VERSION index 432193e4b..8e3325e45 100644 --- a/CODEGEN_VERSION +++ b/CODEGEN_VERSION @@ -1 +1 @@ -01d1ea0975f54150dffdde2a2c3d21e609c3b89f \ No newline at end of file +eb57b8d8b458a89708aa2e68ab00fb5520c86597 \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 02d7b3616..a2a832fe5 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2458 \ No newline at end of file +v2471 \ No newline at end of file diff --git a/stripe/_charge.py b/stripe/_charge.py index d0a51dc36..f9162fdaa 100644 --- a/stripe/_charge.py +++ b/stripe/_charge.py @@ -642,6 +642,7 @@ class ThreeDSecure(StripeObject): Literal[ "attempt_acknowledged", "authenticated", + "data_share_only", "exempted", "failed", "not_supported", diff --git a/stripe/_invoice.py b/stripe/_invoice.py index a3ed2ea35..4c8e9bba7 100644 --- a/stripe/_invoice.py +++ b/stripe/_invoice.py @@ -2829,7 +2829,8 @@ def modify( ) -> "Invoice": """ Draft invoices are fully editable. Once an invoice is [finalized](https://docs.stripe.com/docs/billing/invoices/workflow#finalized), - monetary values, as well as collection_method, become uneditable. + you can no longer change most of its details, including monetary values and collection_method. For most invoices, + this also includes description. If you would like to stop the Stripe Billing engine from automatically finalizing, reattempting payments on, sending reminders for, or [automatically reconciling](https://docs.stripe.com/docs/billing/invoices/reconciliation) invoices, pass @@ -2851,7 +2852,8 @@ async def modify_async( ) -> "Invoice": """ Draft invoices are fully editable. Once an invoice is [finalized](https://docs.stripe.com/docs/billing/invoices/workflow#finalized), - monetary values, as well as collection_method, become uneditable. + you can no longer change most of its details, including monetary values and collection_method. For most invoices, + this also includes description. If you would like to stop the Stripe Billing engine from automatically finalizing, reattempting payments on, sending reminders for, or [automatically reconciling](https://docs.stripe.com/docs/billing/invoices/reconciliation) invoices, pass diff --git a/stripe/_invoice_service.py b/stripe/_invoice_service.py index e9917914a..97d88ce64 100644 --- a/stripe/_invoice_service.py +++ b/stripe/_invoice_service.py @@ -169,7 +169,8 @@ def update( ) -> "Invoice": """ Draft invoices are fully editable. Once an invoice is [finalized](https://docs.stripe.com/docs/billing/invoices/workflow#finalized), - monetary values, as well as collection_method, become uneditable. + you can no longer change most of its details, including monetary values and collection_method. For most invoices, + this also includes description. If you would like to stop the Stripe Billing engine from automatically finalizing, reattempting payments on, sending reminders for, or [automatically reconciling](https://docs.stripe.com/docs/billing/invoices/reconciliation) invoices, pass @@ -194,7 +195,8 @@ async def update_async( ) -> "Invoice": """ Draft invoices are fully editable. Once an invoice is [finalized](https://docs.stripe.com/docs/billing/invoices/workflow#finalized), - monetary values, as well as collection_method, become uneditable. + you can no longer change most of its details, including monetary values and collection_method. For most invoices, + this also includes description. If you would like to stop the Stripe Billing engine from automatically finalizing, reattempting payments on, sending reminders for, or [automatically reconciling](https://docs.stripe.com/docs/billing/invoices/reconciliation) invoices, pass diff --git a/stripe/_payment_attempt_record.py b/stripe/_payment_attempt_record.py index 267f21507..744305567 100644 --- a/stripe/_payment_attempt_record.py +++ b/stripe/_payment_attempt_record.py @@ -560,6 +560,7 @@ class ThreeDSecure(StripeObject): Literal[ "attempt_acknowledged", "authenticated", + "data_share_only", "exempted", "failed", "not_supported", diff --git a/stripe/_payment_intent.py b/stripe/_payment_intent.py index d98159fcd..f2f5dd80d 100644 --- a/stripe/_payment_intent.py +++ b/stripe/_payment_intent.py @@ -7587,7 +7587,7 @@ def retrieve( You can retrieve a PaymentIntent client-side using a publishable key when the client_secret is in the query string. - If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the [payment intent](https://docs.stripe.com/api#payment_intent_object) object reference for more details. + If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the [payment intent](https://docs.stripe.com/api/payment_intents/object) object reference for more details. """ instance = cls(id, **params) instance.refresh() @@ -7602,7 +7602,7 @@ async def retrieve_async( You can retrieve a PaymentIntent client-side using a publishable key when the client_secret is in the query string. - If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the [payment intent](https://docs.stripe.com/api#payment_intent_object) object reference for more details. + If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the [payment intent](https://docs.stripe.com/api/payment_intents/object) object reference for more details. """ instance = cls(id, **params) await instance.refresh_async() diff --git a/stripe/_payment_intent_amount_details_line_item.py b/stripe/_payment_intent_amount_details_line_item.py index 7e3e807fc..7d1168da2 100644 --- a/stripe/_payment_intent_amount_details_line_item.py +++ b/stripe/_payment_intent_amount_details_line_item.py @@ -154,6 +154,10 @@ class Tax(StripeObject): """ The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0. """ + unit_cost_precision: Optional[int] + """ + The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided. + """ unit_of_measure: Optional[str] """ A unit of measure for the line item, such as gallons, feet, meters, etc. Required for L3 rates. At most 12 alphanumeric characters long. diff --git a/stripe/_payment_intent_service.py b/stripe/_payment_intent_service.py index e71ded881..b5a9ebad0 100644 --- a/stripe/_payment_intent_service.py +++ b/stripe/_payment_intent_service.py @@ -195,7 +195,7 @@ def retrieve( You can retrieve a PaymentIntent client-side using a publishable key when the client_secret is in the query string. - If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the [payment intent](https://docs.stripe.com/api#payment_intent_object) object reference for more details. + If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the [payment intent](https://docs.stripe.com/api/payment_intents/object) object reference for more details. """ return cast( "PaymentIntent", @@ -221,7 +221,7 @@ async def retrieve_async( You can retrieve a PaymentIntent client-side using a publishable key when the client_secret is in the query string. - If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the [payment intent](https://docs.stripe.com/api#payment_intent_object) object reference for more details. + If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the [payment intent](https://docs.stripe.com/api/payment_intents/object) object reference for more details. """ return cast( "PaymentIntent", diff --git a/stripe/_payment_record.py b/stripe/_payment_record.py index 5adb48384..9c567f5e9 100644 --- a/stripe/_payment_record.py +++ b/stripe/_payment_record.py @@ -575,6 +575,7 @@ class ThreeDSecure(StripeObject): Literal[ "attempt_acknowledged", "authenticated", + "data_share_only", "exempted", "failed", "not_supported", diff --git a/stripe/_setup_attempt.py b/stripe/_setup_attempt.py index 86070d056..cf8a629cd 100644 --- a/stripe/_setup_attempt.py +++ b/stripe/_setup_attempt.py @@ -121,6 +121,7 @@ class ThreeDSecure(StripeObject): Literal[ "attempt_acknowledged", "authenticated", + "data_share_only", "exempted", "failed", "not_supported", diff --git a/stripe/capital/_financing_summary.py b/stripe/capital/_financing_summary.py index ca463dbf4..30c5fe854 100644 --- a/stripe/capital/_financing_summary.py +++ b/stripe/capital/_financing_summary.py @@ -13,9 +13,7 @@ class FinancingSummary(SingletonAPIResource["FinancingSummary"]): """ - A financing summary object describes a connected account's financing status in real time. - A financing status is either `accepted`, `delivered`, or `none`. - You can read the status of your connected accounts. + A financing summary object describes a connected account's financing details in real time. """ OBJECT_NAME: ClassVar[Literal["capital.financing_summary"]] = ( diff --git a/stripe/checkout/_session.py b/stripe/checkout/_session.py index fd2a46c9b..a666540f6 100644 --- a/stripe/checkout/_session.py +++ b/stripe/checkout/_session.py @@ -1246,6 +1246,10 @@ class EndBehavior(StripeObject): """ _inner_class_types = {"end_behavior": EndBehavior} + backdate_start_date: Optional[int] + """ + The Unix timestamp marking the subscription's backdated start date. + """ description: Optional[str] """ The description for the subscription. diff --git a/stripe/identity/_verification_report.py b/stripe/identity/_verification_report.py index 71a6c5d1e..a32bfa693 100644 --- a/stripe/identity/_verification_report.py +++ b/stripe/identity/_verification_report.py @@ -497,6 +497,178 @@ class Error(StripeObject): """ _inner_class_types = {"error": Error} + class Signals(StripeObject): + class FraudulentEmail(StripeObject): + class Indicator(StripeObject): + explanation: str + """ + A brief explanation of how this indicator contributed to the risk level + """ + impact: Union[ + Literal[ + "decrease", + "neutral", + "slight_increase", + "strong_increase", + ], + str, + ] + """ + The effect this indicator had on the overall risk level. + """ + indicator: Union[ + Literal[ + "address_mismatch", + "domain_reputation", + "domain_tenure", + "email_reputation", + "email_tenure", + "gibberish_email", + "invalid_email", + "name_mismatch", + "other", + "phone_mismatch", + ], + str, + ] + """ + The name of the specific indicator used in the risk assessment. + """ + + indicators: List[Indicator] + """ + Array of objects representing individual factors that contributed to the calculated risk level. + """ + risk_level: Union[ + Literal[ + "elevated", + "highest", + "low", + "normal", + "not_assessed", + "unknown", + ], + str, + ] + """ + Categorical assessment of the email risk. + """ + _inner_class_types = {"indicators": Indicator} + + class FraudulentPerson(StripeObject): + class Indicator(StripeObject): + explanation: str + """ + A brief explanation of how this indicator contributed to the risk level + """ + impact: Union[ + Literal[ + "decrease", + "neutral", + "slight_increase", + "strong_increase", + ], + str, + ] + """ + The effect this indicator had on the overall risk level. + """ + indicator: Union[ + Literal[ + "fraudulent_person_match", + "no_transaction_match", + "other", + ], + str, + ] + """ + The name of the specific indicator used in the risk assessment. + """ + + indicators: List[Indicator] + """ + Array of objects representing individual factors that contributed to the calculated risk level. + """ + risk_level: Union[ + Literal[ + "elevated", + "highest", + "low", + "normal", + "not_assessed", + "unknown", + ], + str, + ] + """ + Categorical assessment of the fraudulent person risk. + """ + _inner_class_types = {"indicators": Indicator} + + class FraudulentPhone(StripeObject): + class Indicator(StripeObject): + explanation: str + """ + A brief explanation of how this indicator contributed to the risk level + """ + impact: Union[ + Literal[ + "decrease", + "neutral", + "slight_increase", + "strong_increase", + ], + str, + ] + """ + The effect this indicator had on the overall risk level. + """ + indicator: Union[ + Literal[ + "address_mismatch", + "carrier_reputation", + "line_type", + "name_mismatch", + "other", + "phone_reputation", + "phone_tenure", + "phone_velocity", + ], + str, + ] + """ + The name of the specific indicator used in the risk assessment. + """ + + indicators: List[Indicator] + """ + Array of objects representing individual factors that contributed to the calculated risk level. + """ + risk_level: Union[ + Literal[ + "elevated", + "highest", + "low", + "normal", + "not_assessed", + "unknown", + ], + str, + ] + """ + Categorical assessment of the phone risk. + """ + _inner_class_types = {"indicators": Indicator} + + fraudulent_email: Optional[FraudulentEmail] + fraudulent_person: Optional[FraudulentPerson] + fraudulent_phone: Optional[FraudulentPhone] + _inner_class_types = { + "fraudulent_email": FraudulentEmail, + "fraudulent_person": FraudulentPerson, + "fraudulent_phone": FraudulentPhone, + } + client_reference_id: Optional[str] """ A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems. @@ -538,6 +710,7 @@ class Error(StripeObject): """ Result from a selfie check """ + signals: Optional[Signals] type: Union[ Literal["document", "email", "id_number", "verification_flow"], str ] @@ -622,4 +795,5 @@ async def retrieve_async( "options": Options, "phone": Phone, "selfie": Selfie, + "signals": Signals, } diff --git a/stripe/issuing/_authorization.py b/stripe/issuing/_authorization.py index 363b08f9f..68db25fb3 100644 --- a/stripe/issuing/_authorization.py +++ b/stripe/issuing/_authorization.py @@ -1311,6 +1311,10 @@ class TraceId(StripeObject): """ Details about the authorization request, such as identifiers, set by the card network. """ + network_response_code: Optional[str] + """ + The network-specific response code associated with Stripe's decision for this authorization request. The value is a Visa or Mastercard response code depending on the network over which the authorization was routed. + """ network_risk_score: Optional[int] """ The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99. diff --git a/stripe/params/_customer_create_params.py b/stripe/params/_customer_create_params.py index 7903ff669..47ee9ecd3 100644 --- a/stripe/params/_customer_create_params.py +++ b/stripe/params/_customer_create_params.py @@ -41,7 +41,7 @@ class CustomerCreateParams(RequestOptions): """ invoice_prefix: NotRequired[str] """ - The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers. + The prefix for the customer used to generate unique invoice numbers. Must be 1–12 uppercase letters or numbers. """ invoice_settings: NotRequired["CustomerCreateParamsInvoiceSettings"] """ diff --git a/stripe/params/_customer_modify_params.py b/stripe/params/_customer_modify_params.py index 31190633c..49ce2e0d1 100644 --- a/stripe/params/_customer_modify_params.py +++ b/stripe/params/_customer_modify_params.py @@ -49,7 +49,7 @@ class CustomerModifyParams(RequestOptions): """ invoice_prefix: NotRequired[str] """ - The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers. + The prefix for the customer used to generate unique invoice numbers. Must be 1–12 uppercase letters or numbers. """ invoice_settings: NotRequired["CustomerModifyParamsInvoiceSettings"] """ diff --git a/stripe/params/_customer_update_params.py b/stripe/params/_customer_update_params.py index 779fa949a..a07528cfe 100644 --- a/stripe/params/_customer_update_params.py +++ b/stripe/params/_customer_update_params.py @@ -48,7 +48,7 @@ class CustomerUpdateParams(TypedDict): """ invoice_prefix: NotRequired[str] """ - The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers. + The prefix for the customer used to generate unique invoice numbers. Must be 1–12 uppercase letters or numbers. """ invoice_settings: NotRequired["CustomerUpdateParamsInvoiceSettings"] """ diff --git a/stripe/params/_payment_intent_capture_params.py b/stripe/params/_payment_intent_capture_params.py index ae54e6f2d..2bd3f8b3a 100644 --- a/stripe/params/_payment_intent_capture_params.py +++ b/stripe/params/_payment_intent_capture_params.py @@ -142,6 +142,10 @@ class PaymentIntentCaptureParamsAmountDetailsLineItem(TypedDict): """ The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0. """ + unit_cost_precision: NotRequired[int] + """ + The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided. + """ unit_of_measure: NotRequired[str] """ A unit of measure for the line item, such as gallons, feet, meters, etc. diff --git a/stripe/params/_payment_intent_confirm_params.py b/stripe/params/_payment_intent_confirm_params.py index 770186a03..667e9a175 100644 --- a/stripe/params/_payment_intent_confirm_params.py +++ b/stripe/params/_payment_intent_confirm_params.py @@ -331,6 +331,10 @@ class PaymentIntentConfirmParamsAmountDetailsLineItem(TypedDict): """ The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0. """ + unit_cost_precision: NotRequired[int] + """ + The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided. + """ unit_of_measure: NotRequired[str] """ A unit of measure for the line item, such as gallons, feet, meters, etc. diff --git a/stripe/params/_payment_intent_create_params.py b/stripe/params/_payment_intent_create_params.py index 9c763cd7c..9d7b2a6e5 100644 --- a/stripe/params/_payment_intent_create_params.py +++ b/stripe/params/_payment_intent_create_params.py @@ -476,6 +476,10 @@ class PaymentIntentCreateParamsAmountDetailsLineItem(TypedDict): """ The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0. """ + unit_cost_precision: NotRequired[int] + """ + The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided. + """ unit_of_measure: NotRequired[str] """ A unit of measure for the line item, such as gallons, feet, meters, etc. diff --git a/stripe/params/_payment_intent_decrement_authorization_params.py b/stripe/params/_payment_intent_decrement_authorization_params.py index 63cfbbbb9..5e8773d81 100644 --- a/stripe/params/_payment_intent_decrement_authorization_params.py +++ b/stripe/params/_payment_intent_decrement_authorization_params.py @@ -142,6 +142,10 @@ class PaymentIntentDecrementAuthorizationParamsAmountDetailsLineItem( """ The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0. """ + unit_cost_precision: NotRequired[int] + """ + The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided. + """ unit_of_measure: NotRequired[str] """ A unit of measure for the line item, such as gallons, feet, meters, etc. diff --git a/stripe/params/_payment_intent_increment_authorization_params.py b/stripe/params/_payment_intent_increment_authorization_params.py index 281cf601a..d9912980b 100644 --- a/stripe/params/_payment_intent_increment_authorization_params.py +++ b/stripe/params/_payment_intent_increment_authorization_params.py @@ -152,6 +152,10 @@ class PaymentIntentIncrementAuthorizationParamsAmountDetailsLineItem( """ The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0. """ + unit_cost_precision: NotRequired[int] + """ + The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided. + """ unit_of_measure: NotRequired[str] """ A unit of measure for the line item, such as gallons, feet, meters, etc. diff --git a/stripe/params/_payment_intent_modify_params.py b/stripe/params/_payment_intent_modify_params.py index 54eda5025..438951e0a 100644 --- a/stripe/params/_payment_intent_modify_params.py +++ b/stripe/params/_payment_intent_modify_params.py @@ -348,6 +348,10 @@ class PaymentIntentModifyParamsAmountDetailsLineItem(TypedDict): """ The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0. """ + unit_cost_precision: NotRequired[int] + """ + The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided. + """ unit_of_measure: NotRequired[str] """ A unit of measure for the line item, such as gallons, feet, meters, etc. diff --git a/stripe/params/_payment_intent_update_params.py b/stripe/params/_payment_intent_update_params.py index edfe4a7c7..1214e4040 100644 --- a/stripe/params/_payment_intent_update_params.py +++ b/stripe/params/_payment_intent_update_params.py @@ -347,6 +347,10 @@ class PaymentIntentUpdateParamsAmountDetailsLineItem(TypedDict): """ The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0. """ + unit_cost_precision: NotRequired[int] + """ + The number of decimal places implied in the unit_cost. For example, if unit_cost is 10000 and unit_cost_precision is 1, the actual unit cost is 1000.0. Defaults to 0 if not provided. + """ unit_of_measure: NotRequired[str] """ A unit of measure for the line item, such as gallons, feet, meters, etc. diff --git a/stripe/params/checkout/_session_create_params.py b/stripe/params/checkout/_session_create_params.py index c2e30f829..f4f730f42 100644 --- a/stripe/params/checkout/_session_create_params.py +++ b/stripe/params/checkout/_session_create_params.py @@ -258,7 +258,7 @@ class SessionCreateParams(RequestOptions): For `subscription` mode, there is a maximum of 20 line items and optional items with recurring Prices and 20 line items and optional items with one-time Prices. - You can't set this parameter if `ui_mode` is `custom`. + You can't set this parameter if `ui_mode` is `elements` or `form`. """ origin_context: NotRequired["Literal['mobile_app', 'web']|str"] """ @@ -347,6 +347,7 @@ class SessionCreateParams(RequestOptions): "satispay", "scalapay", "sepa_debit", + "sequra", "shopeepay", "sofort", "sunbit", @@ -936,6 +937,10 @@ class SessionCreateParamsItem(TypedDict): class SessionCreateParamsItemSubscription(TypedDict): + backdate_start_date: NotRequired[int] + """ + A past timestamp to backdate the subscription's start date to. + """ billing_cycle_anchor_config: NotRequired[ "SessionCreateParamsItemSubscriptionBillingCycleAnchorConfig" ] diff --git a/stripe/params/product_catalog/_trial_offer_list_params.py b/stripe/params/product_catalog/_trial_offer_list_params.py index 4f33248cb..0ff6b9759 100644 --- a/stripe/params/product_catalog/_trial_offer_list_params.py +++ b/stripe/params/product_catalog/_trial_offer_list_params.py @@ -6,6 +6,10 @@ class TrialOfferListParams(RequestOptions): + active: NotRequired[bool] + """ + Only return trial offers that are active (`true`) or archived (`false`). If omitted, both active and archived trial offers are returned. + """ created: NotRequired["TrialOfferListParamsCreated|int"] """ Only return trial offers that were created during the given date interval. diff --git a/stripe/params/tax/_form_list_params.py b/stripe/params/tax/_form_list_params.py index 055b02386..86cd786d3 100644 --- a/stripe/params/tax/_form_list_params.py +++ b/stripe/params/tax/_form_list_params.py @@ -45,5 +45,5 @@ class FormListParamsPayee(TypedDict): """ type: NotRequired["Literal['account', 'external_reference']|str"] """ - Specifies the payee type. Either `account` or `external_reference`. + Specifies the payee type. """ diff --git a/stripe/tax/_calculation.py b/stripe/tax/_calculation.py index 418f35b5c..6127b1f47 100644 --- a/stripe/tax/_calculation.py +++ b/stripe/tax/_calculation.py @@ -311,6 +311,10 @@ class TaxRateDetails(StripeObject): """ The amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). """ + customer_tax_exemption: Optional[str] + """ + The ID of the [customer tax exemption](https://docs.stripe.com/api/tax/exemptions) that was applied to this tax breakdown. + """ jurisdiction: Jurisdiction sourcing: Union[ Literal["destination", "origin", "performance"], str diff --git a/stripe/tax/_calculation_line_item.py b/stripe/tax/_calculation_line_item.py index 2b49a484f..232eebaa7 100644 --- a/stripe/tax/_calculation_line_item.py +++ b/stripe/tax/_calculation_line_item.py @@ -107,6 +107,10 @@ class TaxRateDetails(StripeObject): """ The amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). """ + customer_tax_exemption: Optional[str] + """ + The ID of the [customer tax exemption](https://docs.stripe.com/api/tax/exemptions) that was applied to this tax breakdown. + """ jurisdiction: Jurisdiction sourcing: Union[Literal["destination", "origin", "performance"], str] """ diff --git a/stripe/tax/_form.py b/stripe/tax/_form.py index b7a90f9e4..2dccec4e7 100644 --- a/stripe/tax/_form.py +++ b/stripe/tax/_form.py @@ -111,7 +111,7 @@ class Payee(StripeObject): """ type: Union[Literal["account", "external_reference"], str] """ - Either `account` or `external_reference`. + Specifies the payee type. """ class Us1099K(StripeObject): diff --git a/stripe/tax/_registration.py b/stripe/tax/_registration.py index f2ec86c17..242640fde 100644 --- a/stripe/tax/_registration.py +++ b/stripe/tax/_registration.py @@ -75,12 +75,6 @@ class Ao(StripeObject): """ class At(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -89,7 +83,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -97,7 +90,7 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Au(StripeObject): class Standard(StripeObject): @@ -146,12 +139,6 @@ class Bd(StripeObject): """ class Be(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -160,7 +147,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -168,7 +154,7 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Bf(StripeObject): type: Literal["standard"] @@ -177,12 +163,6 @@ class Bf(StripeObject): """ class Bg(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -191,7 +171,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -199,7 +178,7 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Bh(StripeObject): type: Literal["standard"] @@ -294,12 +273,6 @@ class Cv(StripeObject): """ class Cy(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -308,7 +281,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -316,15 +288,9 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Cz(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -333,7 +299,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -341,15 +306,9 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class De(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -358,7 +317,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -366,15 +324,9 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Dk(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -383,7 +335,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -391,7 +342,7 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Ec(StripeObject): type: Literal["simplified"] @@ -400,12 +351,6 @@ class Ec(StripeObject): """ class Ee(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -414,7 +359,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -422,7 +366,7 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Eg(StripeObject): type: Literal["simplified"] @@ -448,10 +392,13 @@ class Standard(StripeObject): igic: Optional[Igic] standard: Optional[Standard] type: Union[ - Literal["ioss", "oss_non_union", "oss_union", "standard"], str + Literal[ + "igic", "ioss", "oss_non_union", "oss_union", "standard" + ], + str, ] """ - Type of registration in an EU country. + Type of registration in ES. """ _inner_class_types = {"igic": Igic, "standard": Standard} @@ -462,12 +409,6 @@ class Et(StripeObject): """ class Fi(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -476,7 +417,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -484,15 +424,9 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Fr(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -501,7 +435,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -509,7 +442,7 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Gb(StripeObject): class Standard(StripeObject): @@ -540,12 +473,6 @@ class Gn(StripeObject): """ class Gr(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -554,7 +481,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -562,15 +488,9 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Hr(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -579,7 +499,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -587,15 +506,9 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Hu(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -604,7 +517,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -612,7 +524,7 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Id(StripeObject): type: Literal["simplified"] @@ -621,12 +533,6 @@ class Id(StripeObject): """ class Ie(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -635,7 +541,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -643,7 +548,7 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class In(StripeObject): type: Literal["simplified"] @@ -658,12 +563,6 @@ class Is(StripeObject): """ class It(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -672,7 +571,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -680,7 +578,7 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Jp(StripeObject): class Standard(StripeObject): @@ -741,12 +639,6 @@ class Lk(StripeObject): """ class Lt(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -755,7 +647,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -763,15 +654,9 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Lu(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -780,7 +665,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -788,15 +672,9 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Lv(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -805,7 +683,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -813,7 +690,7 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Ma(StripeObject): type: Literal["simplified"] @@ -846,12 +723,6 @@ class Mr(StripeObject): """ class Mt(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -860,7 +731,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -868,7 +738,7 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Mx(StripeObject): type: Literal["simplified"] @@ -889,12 +759,6 @@ class Ng(StripeObject): """ class Nl(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -903,7 +767,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -911,7 +774,7 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class No(StripeObject): class Standard(StripeObject): @@ -970,12 +833,6 @@ class Ph(StripeObject): """ class Pl(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -984,7 +841,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -992,15 +848,9 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Pt(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -1009,7 +859,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -1017,15 +866,9 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Ro(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -1034,7 +877,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -1042,7 +884,7 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Rs(StripeObject): type: Literal["standard"] @@ -1063,12 +905,6 @@ class Sa(StripeObject): """ class Se(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -1077,7 +913,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -1085,7 +920,7 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Sg(StripeObject): class Standard(StripeObject): @@ -1104,12 +939,6 @@ class Standard(StripeObject): _inner_class_types = {"standard": Standard} class Si(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -1118,7 +947,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -1126,15 +954,9 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Sk(StripeObject): - class Igic(StripeObject): - place_of_supply_scheme: Literal["inbound_goods", "standard"] - """ - Place of supply scheme used in an IGIC registration. - """ - class Standard(StripeObject): place_of_supply_scheme: Union[ Literal["inbound_goods", "small_seller", "standard"], str @@ -1143,7 +965,6 @@ class Standard(StripeObject): Place of supply scheme used in an EU standard registration. """ - igic: Optional[Igic] standard: Optional[Standard] type: Union[ Literal["ioss", "oss_non_union", "oss_union", "standard"], str @@ -1151,7 +972,7 @@ class Standard(StripeObject): """ Type of registration in an EU country. """ - _inner_class_types = {"igic": Igic, "standard": Standard} + _inner_class_types = {"standard": Standard} class Sn(StripeObject): type: Literal["simplified"] diff --git a/stripe/tax/_transaction.py b/stripe/tax/_transaction.py index d78af822e..ae9f2709d 100644 --- a/stripe/tax/_transaction.py +++ b/stripe/tax/_transaction.py @@ -320,6 +320,10 @@ class TaxRateDetails(StripeObject): """ The amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). """ + customer_tax_exemption: Optional[str] + """ + The ID of the [customer tax exemption](https://docs.stripe.com/api/tax/exemptions) that was applied to this tax breakdown. + """ jurisdiction: Jurisdiction sourcing: Union[ Literal["destination", "origin", "performance"], str diff --git a/stripe/treasury/_financial_account.py b/stripe/treasury/_financial_account.py index d0eeb343f..908d8a199 100644 --- a/stripe/treasury/_financial_account.py +++ b/stripe/treasury/_financial_account.py @@ -92,7 +92,7 @@ class Aba(StripeObject): ABA Records contain U.S. bank account details per the ABA format. """ supported_networks: Optional[ - List[Union[Literal["ach", "us_domestic_wire"], str]] + List[Union[Literal["ach", "rtp", "us_domestic_wire"], str]] ] """ The list of networks that the address supports diff --git a/stripe/v2/core/_account.py b/stripe/v2/core/_account.py index 1824f327b..6d219752f 100644 --- a/stripe/v2/core/_account.py +++ b/stripe/v2/core/_account.py @@ -9569,6 +9569,7 @@ class Deadline(StripeObject): "bank_accounts.swift", "bank_accounts.wire", "blik_payments", + "blik_recurring_payments", "boleto_payments", "business_storage.inbound.eur", "business_storage.inbound.gbp", @@ -12417,6 +12418,7 @@ class Deadline(StripeObject): "bank_accounts.swift", "bank_accounts.wire", "blik_payments", + "blik_recurring_payments", "boleto_payments", "business_storage.inbound.eur", "business_storage.inbound.gbp",