From c4087bd83685da539484d7142fdc92a44f12a92b Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Thu, 25 Sep 2025 16:48:17 +0000 Subject: [PATCH] Update generated code for v2025 and 2025-09-30.clover --- OPENAPI_VERSION | 2 +- stripe/_account.py | 16 ---- stripe/_account_service.py | 24 ----- stripe/_charge.py | 5 -- stripe/_confirmation_token.py | 16 ---- stripe/_customer.py | 1 - stripe/_customer_payment_method_service.py | 1 - stripe/_dispute.py | 1 + stripe/_payment_intent.py | 89 +------------------ stripe/_payment_intent_service.py | 83 +---------------- stripe/_payment_link.py | 4 +- stripe/_payment_link_service.py | 3 +- stripe/_payment_method.py | 15 ---- stripe/_payment_method_configuration.py | 60 ------------- .../_payment_method_configuration_service.py | 40 --------- stripe/_payment_method_service.py | 9 -- stripe/_setup_intent.py | 24 ----- stripe/_setup_intent_service.py | 30 ------- stripe/checkout/_session.py | 2 - stripe/checkout/_session_service.py | 2 - .../_confirmation_token_service.py | 10 --- 21 files changed, 8 insertions(+), 429 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 0ad25f52e..9f46827f5 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2023 \ No newline at end of file +v2025 \ No newline at end of file diff --git a/stripe/_account.py b/stripe/_account.py index 084cf2d2c..fbaf003f5 100644 --- a/stripe/_account.py +++ b/stripe/_account.py @@ -362,10 +362,6 @@ class Capabilities(StripeObject): """ The status of the paynow payments capability of the account, or whether the account can directly process paynow charges. """ - paypay_payments: Optional[Literal["active", "inactive", "pending"]] - """ - The status of the Paypay capability of the account, or whether the account can directly process Paypay payments. - """ pix_payments: Optional[Literal["active", "inactive", "pending"]] """ The status of the pix payments capability of the account, or whether the account can directly process pix charges. @@ -1919,12 +1915,6 @@ class CreateParamsCapabilities(TypedDict): """ The paynow_payments capability. """ - paypay_payments: NotRequired[ - "Account.CreateParamsCapabilitiesPaypayPayments" - ] - """ - The paypay_payments capability. - """ pix_payments: NotRequired[ "Account.CreateParamsCapabilitiesPixPayments" ] @@ -2282,12 +2272,6 @@ class CreateParamsCapabilitiesPaynowPayments(TypedDict): Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. """ - class CreateParamsCapabilitiesPaypayPayments(TypedDict): - requested: NotRequired[bool] - """ - Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - """ - class CreateParamsCapabilitiesPixPayments(TypedDict): requested: NotRequired[bool] """ diff --git a/stripe/_account_service.py b/stripe/_account_service.py index 4747a0371..5a8cce49b 100644 --- a/stripe/_account_service.py +++ b/stripe/_account_service.py @@ -514,12 +514,6 @@ class CreateParamsCapabilities(TypedDict): """ The paynow_payments capability. """ - paypay_payments: NotRequired[ - "AccountService.CreateParamsCapabilitiesPaypayPayments" - ] - """ - The paypay_payments capability. - """ pix_payments: NotRequired[ "AccountService.CreateParamsCapabilitiesPixPayments" ] @@ -881,12 +875,6 @@ class CreateParamsCapabilitiesPaynowPayments(TypedDict): Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. """ - class CreateParamsCapabilitiesPaypayPayments(TypedDict): - requested: NotRequired[bool] - """ - Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - """ - class CreateParamsCapabilitiesPixPayments(TypedDict): requested: NotRequired[bool] """ @@ -2486,12 +2474,6 @@ class UpdateParamsCapabilities(TypedDict): """ The paynow_payments capability. """ - paypay_payments: NotRequired[ - "AccountService.UpdateParamsCapabilitiesPaypayPayments" - ] - """ - The paypay_payments capability. - """ pix_payments: NotRequired[ "AccountService.UpdateParamsCapabilitiesPixPayments" ] @@ -2853,12 +2835,6 @@ class UpdateParamsCapabilitiesPaynowPayments(TypedDict): Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. """ - class UpdateParamsCapabilitiesPaypayPayments(TypedDict): - requested: NotRequired[bool] - """ - Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - """ - class UpdateParamsCapabilitiesPixPayments(TypedDict): requested: NotRequired[bool] """ diff --git a/stripe/_charge.py b/stripe/_charge.py index d9dc08df3..e9a3cb14c 100644 --- a/stripe/_charge.py +++ b/stripe/_charge.py @@ -1704,9 +1704,6 @@ class SellerProtection(StripeObject): """ _inner_class_types = {"seller_protection": SellerProtection} - class Paypay(StripeObject): - pass - class Pix(StripeObject): bank_transaction_id: Optional[str] """ @@ -1978,7 +1975,6 @@ class Zip(StripeObject): payco: Optional[Payco] paynow: Optional[Paynow] paypal: Optional[Paypal] - paypay: Optional[Paypay] pix: Optional[Pix] promptpay: Optional[Promptpay] revolut_pay: Optional[RevolutPay] @@ -2042,7 +2038,6 @@ class Zip(StripeObject): "payco": Payco, "paynow": Paynow, "paypal": Paypal, - "paypay": Paypay, "pix": Pix, "promptpay": Promptpay, "revolut_pay": RevolutPay, diff --git a/stripe/_confirmation_token.py b/stripe/_confirmation_token.py index d4be3220a..d418a98e8 100644 --- a/stripe/_confirmation_token.py +++ b/stripe/_confirmation_token.py @@ -1248,9 +1248,6 @@ class Paypal(StripeObject): PayPal account PayerID. This identifier uniquely identifies the PayPal customer. """ - class Paypay(StripeObject): - pass - class Pix(StripeObject): pass @@ -1459,7 +1456,6 @@ class Zip(StripeObject): payco: Optional[Payco] paynow: Optional[Paynow] paypal: Optional[Paypal] - paypay: Optional[Paypay] pix: Optional[Pix] promptpay: Optional[Promptpay] revolut_pay: Optional[RevolutPay] @@ -1509,7 +1505,6 @@ class Zip(StripeObject): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -1570,7 +1565,6 @@ class Zip(StripeObject): "payco": Payco, "paynow": Paynow, "paypal": Paypal, - "paypay": Paypay, "pix": Pix, "promptpay": Promptpay, "revolut_pay": RevolutPay, @@ -1892,12 +1886,6 @@ class CreateParamsPaymentMethodData(TypedDict): """ If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. """ - paypay: NotRequired[ - "ConfirmationToken.CreateParamsPaymentMethodDataPaypay" - ] - """ - If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. - """ pix: NotRequired["ConfirmationToken.CreateParamsPaymentMethodDataPix"] """ If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method. @@ -1993,7 +1981,6 @@ class CreateParamsPaymentMethodData(TypedDict): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -2377,9 +2364,6 @@ class CreateParamsPaymentMethodDataPaynow(TypedDict): class CreateParamsPaymentMethodDataPaypal(TypedDict): pass - class CreateParamsPaymentMethodDataPaypay(TypedDict): - pass - class CreateParamsPaymentMethodDataPix(TypedDict): pass diff --git a/stripe/_customer.py b/stripe/_customer.py index 0ce03713b..b415e40e4 100644 --- a/stripe/_customer.py +++ b/stripe/_customer.py @@ -953,7 +953,6 @@ class ListPaymentMethodsParams(RequestOptions): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", diff --git a/stripe/_customer_payment_method_service.py b/stripe/_customer_payment_method_service.py index f26aceb8f..eac26dd8c 100644 --- a/stripe/_customer_payment_method_service.py +++ b/stripe/_customer_payment_method_service.py @@ -72,7 +72,6 @@ class ListParams(TypedDict): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", diff --git a/stripe/_dispute.py b/stripe/_dispute.py index c5f3d6d25..589c08f8c 100644 --- a/stripe/_dispute.py +++ b/stripe/_dispute.py @@ -844,6 +844,7 @@ class RetrieveParams(RequestOptions): status: Literal[ "lost", "needs_response", + "prevented", "under_review", "warning_closed", "warning_needs_response", diff --git a/stripe/_payment_intent.py b/stripe/_payment_intent.py index 82e424fd9..cb507820e 100644 --- a/stripe/_payment_intent.py +++ b/stripe/_payment_intent.py @@ -2160,9 +2160,6 @@ class Paypal(StripeObject): When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication). """ - class Paypay(StripeObject): - pass - class Pix(StripeObject): amount_includes_iof: Optional[Literal["always", "never"]] """ @@ -2447,7 +2444,6 @@ class Zip(StripeObject): payco: Optional[Payco] paynow: Optional[Paynow] paypal: Optional[Paypal] - paypay: Optional[Paypay] pix: Optional[Pix] promptpay: Optional[Promptpay] revolut_pay: Optional[RevolutPay] @@ -2500,7 +2496,6 @@ class Zip(StripeObject): "payco": Payco, "paynow": Paynow, "paypal": Paypal, - "paypay": Paypay, "pix": Pix, "promptpay": Promptpay, "revolut_pay": RevolutPay, @@ -2700,7 +2695,7 @@ class ConfirmParams(RequestOptions): Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. This parameter is intended for simpler integrations that do not handle customer actions, like [saving cards without authentication](https://stripe.com/docs/payments/save-card-without-authentication). """ excluded_payment_method_types: NotRequired[ - "Literal['']|List[Literal['acss_debit', 'affirm', 'afterpay_clearpay', 'alipay', 'alma', 'amazon_pay', 'au_becs_debit', 'bacs_debit', 'bancontact', 'billie', 'blik', 'boleto', 'card', 'cashapp', 'crypto', 'customer_balance', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'kakao_pay', 'klarna', 'konbini', 'kr_card', 'mb_way', 'mobilepay', 'multibanco', 'naver_pay', 'nz_bank_account', 'oxxo', 'p24', 'pay_by_bank', 'payco', 'paynow', 'paypal', 'paypay', 'pix', 'promptpay', 'revolut_pay', 'samsung_pay', 'satispay', 'sepa_debit', 'sofort', 'swish', 'twint', 'us_bank_account', 'wechat_pay', 'zip']]" + "Literal['']|List[Literal['acss_debit', 'affirm', 'afterpay_clearpay', 'alipay', 'alma', 'amazon_pay', 'au_becs_debit', 'bacs_debit', 'bancontact', 'billie', 'blik', 'boleto', 'card', 'cashapp', 'crypto', 'customer_balance', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'kakao_pay', 'klarna', 'konbini', 'kr_card', 'mb_way', 'mobilepay', 'multibanco', 'naver_pay', 'nz_bank_account', 'oxxo', 'p24', 'pay_by_bank', 'payco', 'paynow', 'paypal', 'pix', 'promptpay', 'revolut_pay', 'samsung_pay', 'satispay', 'sepa_debit', 'sofort', 'swish', 'twint', 'us_bank_account', 'wechat_pay', 'zip']]" ] """ The list of payment method types to exclude from use with this payment. @@ -3046,12 +3041,6 @@ class ConfirmParamsPaymentMethodData(TypedDict): """ If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. """ - paypay: NotRequired[ - "PaymentIntent.ConfirmParamsPaymentMethodDataPaypay" - ] - """ - If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. - """ pix: NotRequired["PaymentIntent.ConfirmParamsPaymentMethodDataPix"] """ If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method. @@ -3143,7 +3132,6 @@ class ConfirmParamsPaymentMethodData(TypedDict): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -3527,9 +3515,6 @@ class ConfirmParamsPaymentMethodDataPaynow(TypedDict): class ConfirmParamsPaymentMethodDataPaypal(TypedDict): pass - class ConfirmParamsPaymentMethodDataPaypay(TypedDict): - pass - class ConfirmParamsPaymentMethodDataPix(TypedDict): pass @@ -3832,12 +3817,6 @@ class ConfirmParamsPaymentMethodOptions(TypedDict): """ If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options. """ - paypay: NotRequired[ - "Literal['']|PaymentIntent.ConfirmParamsPaymentMethodOptionsPaypay" - ] - """ - If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options. - """ pix: NotRequired[ "Literal['']|PaymentIntent.ConfirmParamsPaymentMethodOptionsPix" ] @@ -5112,16 +5091,6 @@ class ConfirmParamsPaymentMethodOptionsPaypal(TypedDict): If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. """ - class ConfirmParamsPaymentMethodOptionsPaypay(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] - """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. - """ - class ConfirmParamsPaymentMethodOptionsPix(TypedDict): amount_includes_iof: NotRequired[Literal["always", "never"]] """ @@ -5578,7 +5547,6 @@ class CreateParams(RequestOptions): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -5977,12 +5945,6 @@ class CreateParamsPaymentMethodData(TypedDict): """ If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. """ - paypay: NotRequired[ - "PaymentIntent.CreateParamsPaymentMethodDataPaypay" - ] - """ - If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. - """ pix: NotRequired["PaymentIntent.CreateParamsPaymentMethodDataPix"] """ If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method. @@ -6074,7 +6036,6 @@ class CreateParamsPaymentMethodData(TypedDict): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -6458,9 +6419,6 @@ class CreateParamsPaymentMethodDataPaynow(TypedDict): class CreateParamsPaymentMethodDataPaypal(TypedDict): pass - class CreateParamsPaymentMethodDataPaypay(TypedDict): - pass - class CreateParamsPaymentMethodDataPix(TypedDict): pass @@ -6763,12 +6721,6 @@ class CreateParamsPaymentMethodOptions(TypedDict): """ If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options. """ - paypay: NotRequired[ - "Literal['']|PaymentIntent.CreateParamsPaymentMethodOptionsPaypay" - ] - """ - If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options. - """ pix: NotRequired[ "Literal['']|PaymentIntent.CreateParamsPaymentMethodOptionsPix" ] @@ -8043,16 +7995,6 @@ class CreateParamsPaymentMethodOptionsPaypal(TypedDict): If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. """ - class CreateParamsPaymentMethodOptionsPaypay(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] - """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. - """ - class CreateParamsPaymentMethodOptionsPix(TypedDict): amount_includes_iof: NotRequired[Literal["always", "never"]] """ @@ -8549,7 +8491,7 @@ class ModifyParams(RequestOptions): An arbitrary string attached to the object. Often useful for displaying to users. """ excluded_payment_method_types: NotRequired[ - "Literal['']|List[Literal['acss_debit', 'affirm', 'afterpay_clearpay', 'alipay', 'alma', 'amazon_pay', 'au_becs_debit', 'bacs_debit', 'bancontact', 'billie', 'blik', 'boleto', 'card', 'cashapp', 'crypto', 'customer_balance', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'kakao_pay', 'klarna', 'konbini', 'kr_card', 'mb_way', 'mobilepay', 'multibanco', 'naver_pay', 'nz_bank_account', 'oxxo', 'p24', 'pay_by_bank', 'payco', 'paynow', 'paypal', 'paypay', 'pix', 'promptpay', 'revolut_pay', 'samsung_pay', 'satispay', 'sepa_debit', 'sofort', 'swish', 'twint', 'us_bank_account', 'wechat_pay', 'zip']]" + "Literal['']|List[Literal['acss_debit', 'affirm', 'afterpay_clearpay', 'alipay', 'alma', 'amazon_pay', 'au_becs_debit', 'bacs_debit', 'bancontact', 'billie', 'blik', 'boleto', 'card', 'cashapp', 'crypto', 'customer_balance', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'kakao_pay', 'klarna', 'konbini', 'kr_card', 'mb_way', 'mobilepay', 'multibanco', 'naver_pay', 'nz_bank_account', 'oxxo', 'p24', 'pay_by_bank', 'payco', 'paynow', 'paypal', 'pix', 'promptpay', 'revolut_pay', 'samsung_pay', 'satispay', 'sepa_debit', 'sofort', 'swish', 'twint', 'us_bank_account', 'wechat_pay', 'zip']]" ] """ The list of payment method types to exclude from use with this payment. @@ -8848,12 +8790,6 @@ class ModifyParamsPaymentMethodData(TypedDict): """ If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. """ - paypay: NotRequired[ - "PaymentIntent.ModifyParamsPaymentMethodDataPaypay" - ] - """ - If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. - """ pix: NotRequired["PaymentIntent.ModifyParamsPaymentMethodDataPix"] """ If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method. @@ -8945,7 +8881,6 @@ class ModifyParamsPaymentMethodData(TypedDict): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -9329,9 +9264,6 @@ class ModifyParamsPaymentMethodDataPaynow(TypedDict): class ModifyParamsPaymentMethodDataPaypal(TypedDict): pass - class ModifyParamsPaymentMethodDataPaypay(TypedDict): - pass - class ModifyParamsPaymentMethodDataPix(TypedDict): pass @@ -9634,12 +9566,6 @@ class ModifyParamsPaymentMethodOptions(TypedDict): """ If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options. """ - paypay: NotRequired[ - "Literal['']|PaymentIntent.ModifyParamsPaymentMethodOptionsPaypay" - ] - """ - If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options. - """ pix: NotRequired[ "Literal['']|PaymentIntent.ModifyParamsPaymentMethodOptionsPix" ] @@ -10914,16 +10840,6 @@ class ModifyParamsPaymentMethodOptionsPaypal(TypedDict): If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. """ - class ModifyParamsPaymentMethodOptionsPaypay(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] - """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. - """ - class ModifyParamsPaymentMethodOptionsPix(TypedDict): amount_includes_iof: NotRequired[Literal["always", "never"]] """ @@ -11447,7 +11363,6 @@ class VerifyMicrodepositsParams(RequestOptions): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", diff --git a/stripe/_payment_intent_service.py b/stripe/_payment_intent_service.py index 89d13756c..456526f2e 100644 --- a/stripe/_payment_intent_service.py +++ b/stripe/_payment_intent_service.py @@ -106,7 +106,7 @@ class ConfirmParams(TypedDict): Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. This parameter is intended for simpler integrations that do not handle customer actions, like [saving cards without authentication](https://stripe.com/docs/payments/save-card-without-authentication). """ excluded_payment_method_types: NotRequired[ - "Literal['']|List[Literal['acss_debit', 'affirm', 'afterpay_clearpay', 'alipay', 'alma', 'amazon_pay', 'au_becs_debit', 'bacs_debit', 'bancontact', 'billie', 'blik', 'boleto', 'card', 'cashapp', 'crypto', 'customer_balance', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'kakao_pay', 'klarna', 'konbini', 'kr_card', 'mb_way', 'mobilepay', 'multibanco', 'naver_pay', 'nz_bank_account', 'oxxo', 'p24', 'pay_by_bank', 'payco', 'paynow', 'paypal', 'paypay', 'pix', 'promptpay', 'revolut_pay', 'samsung_pay', 'satispay', 'sepa_debit', 'sofort', 'swish', 'twint', 'us_bank_account', 'wechat_pay', 'zip']]" + "Literal['']|List[Literal['acss_debit', 'affirm', 'afterpay_clearpay', 'alipay', 'alma', 'amazon_pay', 'au_becs_debit', 'bacs_debit', 'bancontact', 'billie', 'blik', 'boleto', 'card', 'cashapp', 'crypto', 'customer_balance', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'kakao_pay', 'klarna', 'konbini', 'kr_card', 'mb_way', 'mobilepay', 'multibanco', 'naver_pay', 'nz_bank_account', 'oxxo', 'p24', 'pay_by_bank', 'payco', 'paynow', 'paypal', 'pix', 'promptpay', 'revolut_pay', 'samsung_pay', 'satispay', 'sepa_debit', 'sofort', 'swish', 'twint', 'us_bank_account', 'wechat_pay', 'zip']]" ] """ The list of payment method types to exclude from use with this payment. @@ -472,12 +472,6 @@ class ConfirmParamsPaymentMethodData(TypedDict): """ If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. """ - paypay: NotRequired[ - "PaymentIntentService.ConfirmParamsPaymentMethodDataPaypay" - ] - """ - If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. - """ pix: NotRequired[ "PaymentIntentService.ConfirmParamsPaymentMethodDataPix" ] @@ -575,7 +569,6 @@ class ConfirmParamsPaymentMethodData(TypedDict): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -961,9 +954,6 @@ class ConfirmParamsPaymentMethodDataPaynow(TypedDict): class ConfirmParamsPaymentMethodDataPaypal(TypedDict): pass - class ConfirmParamsPaymentMethodDataPaypay(TypedDict): - pass - class ConfirmParamsPaymentMethodDataPix(TypedDict): pass @@ -1266,12 +1256,6 @@ class ConfirmParamsPaymentMethodOptions(TypedDict): """ If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options. """ - paypay: NotRequired[ - "Literal['']|PaymentIntentService.ConfirmParamsPaymentMethodOptionsPaypay" - ] - """ - If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options. - """ pix: NotRequired[ "Literal['']|PaymentIntentService.ConfirmParamsPaymentMethodOptionsPix" ] @@ -2546,16 +2530,6 @@ class ConfirmParamsPaymentMethodOptionsPaypal(TypedDict): If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. """ - class ConfirmParamsPaymentMethodOptionsPaypay(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] - """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. - """ - class ConfirmParamsPaymentMethodOptionsPix(TypedDict): amount_includes_iof: NotRequired[Literal["always", "never"]] """ @@ -3012,7 +2986,6 @@ class CreateParams(TypedDict): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -3435,12 +3408,6 @@ class CreateParamsPaymentMethodData(TypedDict): """ If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. """ - paypay: NotRequired[ - "PaymentIntentService.CreateParamsPaymentMethodDataPaypay" - ] - """ - If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. - """ pix: NotRequired[ "PaymentIntentService.CreateParamsPaymentMethodDataPix" ] @@ -3538,7 +3505,6 @@ class CreateParamsPaymentMethodData(TypedDict): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -3924,9 +3890,6 @@ class CreateParamsPaymentMethodDataPaynow(TypedDict): class CreateParamsPaymentMethodDataPaypal(TypedDict): pass - class CreateParamsPaymentMethodDataPaypay(TypedDict): - pass - class CreateParamsPaymentMethodDataPix(TypedDict): pass @@ -4229,12 +4192,6 @@ class CreateParamsPaymentMethodOptions(TypedDict): """ If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options. """ - paypay: NotRequired[ - "Literal['']|PaymentIntentService.CreateParamsPaymentMethodOptionsPaypay" - ] - """ - If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options. - """ pix: NotRequired[ "Literal['']|PaymentIntentService.CreateParamsPaymentMethodOptionsPix" ] @@ -5509,16 +5466,6 @@ class CreateParamsPaymentMethodOptionsPaypal(TypedDict): If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. """ - class CreateParamsPaymentMethodOptionsPaypay(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] - """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. - """ - class CreateParamsPaymentMethodOptionsPix(TypedDict): amount_includes_iof: NotRequired[Literal["always", "never"]] """ @@ -6043,7 +5990,7 @@ class UpdateParams(TypedDict): An arbitrary string attached to the object. Often useful for displaying to users. """ excluded_payment_method_types: NotRequired[ - "Literal['']|List[Literal['acss_debit', 'affirm', 'afterpay_clearpay', 'alipay', 'alma', 'amazon_pay', 'au_becs_debit', 'bacs_debit', 'bancontact', 'billie', 'blik', 'boleto', 'card', 'cashapp', 'crypto', 'customer_balance', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'kakao_pay', 'klarna', 'konbini', 'kr_card', 'mb_way', 'mobilepay', 'multibanco', 'naver_pay', 'nz_bank_account', 'oxxo', 'p24', 'pay_by_bank', 'payco', 'paynow', 'paypal', 'paypay', 'pix', 'promptpay', 'revolut_pay', 'samsung_pay', 'satispay', 'sepa_debit', 'sofort', 'swish', 'twint', 'us_bank_account', 'wechat_pay', 'zip']]" + "Literal['']|List[Literal['acss_debit', 'affirm', 'afterpay_clearpay', 'alipay', 'alma', 'amazon_pay', 'au_becs_debit', 'bacs_debit', 'bancontact', 'billie', 'blik', 'boleto', 'card', 'cashapp', 'crypto', 'customer_balance', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'kakao_pay', 'klarna', 'konbini', 'kr_card', 'mb_way', 'mobilepay', 'multibanco', 'naver_pay', 'nz_bank_account', 'oxxo', 'p24', 'pay_by_bank', 'payco', 'paynow', 'paypal', 'pix', 'promptpay', 'revolut_pay', 'samsung_pay', 'satispay', 'sepa_debit', 'sofort', 'swish', 'twint', 'us_bank_account', 'wechat_pay', 'zip']]" ] """ The list of payment method types to exclude from use with this payment. @@ -6366,12 +6313,6 @@ class UpdateParamsPaymentMethodData(TypedDict): """ If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. """ - paypay: NotRequired[ - "PaymentIntentService.UpdateParamsPaymentMethodDataPaypay" - ] - """ - If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. - """ pix: NotRequired[ "PaymentIntentService.UpdateParamsPaymentMethodDataPix" ] @@ -6469,7 +6410,6 @@ class UpdateParamsPaymentMethodData(TypedDict): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -6855,9 +6795,6 @@ class UpdateParamsPaymentMethodDataPaynow(TypedDict): class UpdateParamsPaymentMethodDataPaypal(TypedDict): pass - class UpdateParamsPaymentMethodDataPaypay(TypedDict): - pass - class UpdateParamsPaymentMethodDataPix(TypedDict): pass @@ -7160,12 +7097,6 @@ class UpdateParamsPaymentMethodOptions(TypedDict): """ If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options. """ - paypay: NotRequired[ - "Literal['']|PaymentIntentService.UpdateParamsPaymentMethodOptionsPaypay" - ] - """ - If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options. - """ pix: NotRequired[ "Literal['']|PaymentIntentService.UpdateParamsPaymentMethodOptionsPix" ] @@ -8440,16 +8371,6 @@ class UpdateParamsPaymentMethodOptionsPaypal(TypedDict): If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`. """ - class UpdateParamsPaymentMethodOptionsPaypay(TypedDict): - capture_method: NotRequired["Literal['']|Literal['manual']"] - """ - Controls when the funds are captured from the customer's account. - - If provided, this parameter overrides the behavior of the top-level [capture_method](https://docs.stripe.com/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type. - - If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type. - """ - class UpdateParamsPaymentMethodOptionsPix(TypedDict): amount_includes_iof: NotRequired[Literal["always", "never"]] """ diff --git a/stripe/_payment_link.py b/stripe/_payment_link.py index 8dd235ac6..d91bf87b6 100644 --- a/stripe/_payment_link.py +++ b/stripe/_payment_link.py @@ -844,7 +844,6 @@ class CreateParams(RequestOptions): "pay_by_bank", "paynow", "paypal", - "paypay", "pix", "promptpay", "satispay", @@ -1855,7 +1854,7 @@ class ModifyParams(RequestOptions): If you'd like information on how to collect a payment method outside of Checkout, read the guide on [configuring subscriptions with a free trial](https://stripe.com/docs/payments/checkout/free-trials). """ payment_method_types: NotRequired[ - "Literal['']|List[Literal['affirm', 'afterpay_clearpay', 'alipay', 'alma', 'au_becs_debit', 'bacs_debit', 'bancontact', 'billie', 'blik', 'boleto', 'card', 'cashapp', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'klarna', 'konbini', 'link', 'mobilepay', 'multibanco', 'oxxo', 'p24', 'pay_by_bank', 'paynow', 'paypal', 'paypay', 'pix', 'promptpay', 'satispay', 'sepa_debit', 'sofort', 'swish', 'twint', 'us_bank_account', 'wechat_pay', 'zip']]" + "Literal['']|List[Literal['affirm', 'afterpay_clearpay', 'alipay', 'alma', 'au_becs_debit', 'bacs_debit', 'bancontact', 'billie', 'blik', 'boleto', 'card', 'cashapp', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'klarna', 'konbini', 'link', 'mobilepay', 'multibanco', 'oxxo', 'p24', 'pay_by_bank', 'paynow', 'paypal', 'pix', 'promptpay', 'satispay', 'sepa_debit', 'sofort', 'swish', 'twint', 'us_bank_account', 'wechat_pay', 'zip']]" ] """ The list of payment method types that customers can use. Pass an empty string to enable dynamic payment methods that use your [payment method settings](https://dashboard.stripe.com/settings/payment_methods). @@ -2678,7 +2677,6 @@ class RetrieveParams(RequestOptions): "pay_by_bank", "paynow", "paypal", - "paypay", "pix", "promptpay", "satispay", diff --git a/stripe/_payment_link_service.py b/stripe/_payment_link_service.py index 9ef62e3f3..8839a6aba 100644 --- a/stripe/_payment_link_service.py +++ b/stripe/_payment_link_service.py @@ -148,7 +148,6 @@ class CreateParams(TypedDict): "pay_by_bank", "paynow", "paypal", - "paypay", "pix", "promptpay", "satispay", @@ -1163,7 +1162,7 @@ class UpdateParams(TypedDict): If you'd like information on how to collect a payment method outside of Checkout, read the guide on [configuring subscriptions with a free trial](https://stripe.com/docs/payments/checkout/free-trials). """ payment_method_types: NotRequired[ - "Literal['']|List[Literal['affirm', 'afterpay_clearpay', 'alipay', 'alma', 'au_becs_debit', 'bacs_debit', 'bancontact', 'billie', 'blik', 'boleto', 'card', 'cashapp', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'klarna', 'konbini', 'link', 'mobilepay', 'multibanco', 'oxxo', 'p24', 'pay_by_bank', 'paynow', 'paypal', 'paypay', 'pix', 'promptpay', 'satispay', 'sepa_debit', 'sofort', 'swish', 'twint', 'us_bank_account', 'wechat_pay', 'zip']]" + "Literal['']|List[Literal['affirm', 'afterpay_clearpay', 'alipay', 'alma', 'au_becs_debit', 'bacs_debit', 'bancontact', 'billie', 'blik', 'boleto', 'card', 'cashapp', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'klarna', 'konbini', 'link', 'mobilepay', 'multibanco', 'oxxo', 'p24', 'pay_by_bank', 'paynow', 'paypal', 'pix', 'promptpay', 'satispay', 'sepa_debit', 'sofort', 'swish', 'twint', 'us_bank_account', 'wechat_pay', 'zip']]" ] """ The list of payment method types that customers can use. Pass an empty string to enable dynamic payment methods that use your [payment method settings](https://dashboard.stripe.com/settings/payment_methods). diff --git a/stripe/_payment_method.py b/stripe/_payment_method.py index 83f77d1f9..40c60c7f5 100644 --- a/stripe/_payment_method.py +++ b/stripe/_payment_method.py @@ -1179,9 +1179,6 @@ class Paypal(StripeObject): PayPal account PayerID. This identifier uniquely identifies the PayPal customer. """ - class Paypay(StripeObject): - pass - class Pix(StripeObject): pass @@ -1545,10 +1542,6 @@ class CreateParams(RequestOptions): """ If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. """ - paypay: NotRequired["PaymentMethod.CreateParamsPaypay"] - """ - If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. - """ pix: NotRequired["PaymentMethod.CreateParamsPix"] """ If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method. @@ -1628,7 +1621,6 @@ class CreateParams(RequestOptions): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -2041,9 +2033,6 @@ class CreateParamsPaynow(TypedDict): class CreateParamsPaypal(TypedDict): pass - class CreateParamsPaypay(TypedDict): - pass - class CreateParamsPix(TypedDict): pass @@ -2177,7 +2166,6 @@ class ListParams(RequestOptions): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -2382,7 +2370,6 @@ class RetrieveParams(RequestOptions): payco: Optional[Payco] paynow: Optional[Paynow] paypal: Optional[Paypal] - paypay: Optional[Paypay] pix: Optional[Pix] promptpay: Optional[Promptpay] radar_options: Optional[RadarOptions] @@ -2436,7 +2423,6 @@ class RetrieveParams(RequestOptions): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -2954,7 +2940,6 @@ async def retrieve_async( "payco": Payco, "paynow": Paynow, "paypal": Paypal, - "paypay": Paypay, "pix": Pix, "promptpay": Promptpay, "radar_options": RadarOptions, diff --git a/stripe/_payment_method_configuration.py b/stripe/_payment_method_configuration.py index 986b7a113..bf1aeb85d 100644 --- a/stripe/_payment_method_configuration.py +++ b/stripe/_payment_method_configuration.py @@ -895,28 +895,6 @@ class DisplayPreference(StripeObject): display_preference: DisplayPreference _inner_class_types = {"display_preference": DisplayPreference} - class Paypay(StripeObject): - class DisplayPreference(StripeObject): - overridable: Optional[bool] - """ - For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used. - """ - preference: Literal["none", "off", "on"] - """ - The account's display preference. - """ - value: Literal["off", "on"] - """ - The effective display preference value. - """ - - available: bool - """ - Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active. - """ - display_preference: DisplayPreference - _inner_class_types = {"display_preference": DisplayPreference} - class Pix(StripeObject): class DisplayPreference(StripeObject): overridable: Optional[bool] @@ -1394,10 +1372,6 @@ class CreateParams(RequestOptions): """ PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details. """ - paypay: NotRequired["PaymentMethodConfiguration.CreateParamsPaypay"] - """ - Customers can pay with PayPay online or using the PayPay app. - """ pix: NotRequired["PaymentMethodConfiguration.CreateParamsPix"] """ Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details. @@ -2035,20 +2009,6 @@ class CreateParamsPaypalDisplayPreference(TypedDict): The account's preference for whether or not to display this payment method. """ - class CreateParamsPaypay(TypedDict): - display_preference: NotRequired[ - "PaymentMethodConfiguration.CreateParamsPaypayDisplayPreference" - ] - """ - Whether or not the payment method should be displayed. - """ - - class CreateParamsPaypayDisplayPreference(TypedDict): - preference: NotRequired[Literal["none", "off", "on"]] - """ - The account's preference for whether or not to display this payment method. - """ - class CreateParamsPix(TypedDict): display_preference: NotRequired[ "PaymentMethodConfiguration.CreateParamsPixDisplayPreference" @@ -2452,10 +2412,6 @@ class ModifyParams(RequestOptions): """ PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details. """ - paypay: NotRequired["PaymentMethodConfiguration.ModifyParamsPaypay"] - """ - Customers can pay with PayPay online or using the PayPay app. - """ pix: NotRequired["PaymentMethodConfiguration.ModifyParamsPix"] """ Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details. @@ -3093,20 +3049,6 @@ class ModifyParamsPaypalDisplayPreference(TypedDict): The account's preference for whether or not to display this payment method. """ - class ModifyParamsPaypay(TypedDict): - display_preference: NotRequired[ - "PaymentMethodConfiguration.ModifyParamsPaypayDisplayPreference" - ] - """ - Whether or not the payment method should be displayed. - """ - - class ModifyParamsPaypayDisplayPreference(TypedDict): - preference: NotRequired[Literal["none", "off", "on"]] - """ - The account's preference for whether or not to display this payment method. - """ - class ModifyParamsPix(TypedDict): display_preference: NotRequired[ "PaymentMethodConfiguration.ModifyParamsPixDisplayPreference" @@ -3352,7 +3294,6 @@ class RetrieveParams(RequestOptions): payco: Optional[Payco] paynow: Optional[Paynow] paypal: Optional[Paypal] - paypay: Optional[Paypay] pix: Optional[Pix] promptpay: Optional[Promptpay] revolut_pay: Optional[RevolutPay] @@ -3542,7 +3483,6 @@ async def retrieve_async( "payco": Payco, "paynow": Paynow, "paypal": Paypal, - "paypay": Paypay, "pix": Pix, "promptpay": Promptpay, "revolut_pay": RevolutPay, diff --git a/stripe/_payment_method_configuration_service.py b/stripe/_payment_method_configuration_service.py index 5b296b73c..ca35722a3 100644 --- a/stripe/_payment_method_configuration_service.py +++ b/stripe/_payment_method_configuration_service.py @@ -251,12 +251,6 @@ class CreateParams(TypedDict): """ PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details. """ - paypay: NotRequired[ - "PaymentMethodConfigurationService.CreateParamsPaypay" - ] - """ - Customers can pay with PayPay online or using the PayPay app. - """ pix: NotRequired["PaymentMethodConfigurationService.CreateParamsPix"] """ Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details. @@ -900,20 +894,6 @@ class CreateParamsPaypalDisplayPreference(TypedDict): The account's preference for whether or not to display this payment method. """ - class CreateParamsPaypay(TypedDict): - display_preference: NotRequired[ - "PaymentMethodConfigurationService.CreateParamsPaypayDisplayPreference" - ] - """ - Whether or not the payment method should be displayed. - """ - - class CreateParamsPaypayDisplayPreference(TypedDict): - preference: NotRequired[Literal["none", "off", "on"]] - """ - The account's preference for whether or not to display this payment method. - """ - class CreateParamsPix(TypedDict): display_preference: NotRequired[ "PaymentMethodConfigurationService.CreateParamsPixDisplayPreference" @@ -1351,12 +1331,6 @@ class UpdateParams(TypedDict): """ PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details. """ - paypay: NotRequired[ - "PaymentMethodConfigurationService.UpdateParamsPaypay" - ] - """ - Customers can pay with PayPay online or using the PayPay app. - """ pix: NotRequired["PaymentMethodConfigurationService.UpdateParamsPix"] """ Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details. @@ -2000,20 +1974,6 @@ class UpdateParamsPaypalDisplayPreference(TypedDict): The account's preference for whether or not to display this payment method. """ - class UpdateParamsPaypay(TypedDict): - display_preference: NotRequired[ - "PaymentMethodConfigurationService.UpdateParamsPaypayDisplayPreference" - ] - """ - Whether or not the payment method should be displayed. - """ - - class UpdateParamsPaypayDisplayPreference(TypedDict): - preference: NotRequired[Literal["none", "off", "on"]] - """ - The account's preference for whether or not to display this payment method. - """ - class UpdateParamsPix(TypedDict): display_preference: NotRequired[ "PaymentMethodConfigurationService.UpdateParamsPixDisplayPreference" diff --git a/stripe/_payment_method_service.py b/stripe/_payment_method_service.py index 060b46555..42aa9a38e 100644 --- a/stripe/_payment_method_service.py +++ b/stripe/_payment_method_service.py @@ -211,10 +211,6 @@ class CreateParams(TypedDict): """ If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. """ - paypay: NotRequired["PaymentMethodService.CreateParamsPaypay"] - """ - If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. - """ pix: NotRequired["PaymentMethodService.CreateParamsPix"] """ If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method. @@ -296,7 +292,6 @@ class CreateParams(TypedDict): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -711,9 +706,6 @@ class CreateParamsPaynow(TypedDict): class CreateParamsPaypal(TypedDict): pass - class CreateParamsPaypay(TypedDict): - pass - class CreateParamsPix(TypedDict): pass @@ -847,7 +839,6 @@ class ListParams(TypedDict): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", diff --git a/stripe/_setup_intent.py b/stripe/_setup_intent.py index 7f16e2f05..7ccbd159b 100644 --- a/stripe/_setup_intent.py +++ b/stripe/_setup_intent.py @@ -980,10 +980,6 @@ class ConfirmParamsPaymentMethodData(TypedDict): """ If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. """ - paypay: NotRequired["SetupIntent.ConfirmParamsPaymentMethodDataPaypay"] - """ - If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. - """ pix: NotRequired["SetupIntent.ConfirmParamsPaymentMethodDataPix"] """ If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method. @@ -1073,7 +1069,6 @@ class ConfirmParamsPaymentMethodData(TypedDict): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -1455,9 +1450,6 @@ class ConfirmParamsPaymentMethodDataPaynow(TypedDict): class ConfirmParamsPaymentMethodDataPaypal(TypedDict): pass - class ConfirmParamsPaymentMethodDataPaypay(TypedDict): - pass - class ConfirmParamsPaymentMethodDataPix(TypedDict): pass @@ -2402,10 +2394,6 @@ class CreateParamsPaymentMethodData(TypedDict): """ If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. """ - paypay: NotRequired["SetupIntent.CreateParamsPaymentMethodDataPaypay"] - """ - If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. - """ pix: NotRequired["SetupIntent.CreateParamsPaymentMethodDataPix"] """ If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method. @@ -2495,7 +2483,6 @@ class CreateParamsPaymentMethodData(TypedDict): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -2877,9 +2864,6 @@ class CreateParamsPaymentMethodDataPaynow(TypedDict): class CreateParamsPaymentMethodDataPaypal(TypedDict): pass - class CreateParamsPaymentMethodDataPaypay(TypedDict): - pass - class CreateParamsPaymentMethodDataPix(TypedDict): pass @@ -3789,10 +3773,6 @@ class ModifyParamsPaymentMethodData(TypedDict): """ If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. """ - paypay: NotRequired["SetupIntent.ModifyParamsPaymentMethodDataPaypay"] - """ - If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. - """ pix: NotRequired["SetupIntent.ModifyParamsPaymentMethodDataPix"] """ If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method. @@ -3882,7 +3862,6 @@ class ModifyParamsPaymentMethodData(TypedDict): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -4264,9 +4243,6 @@ class ModifyParamsPaymentMethodDataPaynow(TypedDict): class ModifyParamsPaymentMethodDataPaypal(TypedDict): pass - class ModifyParamsPaymentMethodDataPaypay(TypedDict): - pass - class ModifyParamsPaymentMethodDataPix(TypedDict): pass diff --git a/stripe/_setup_intent_service.py b/stripe/_setup_intent_service.py index c5061f8ed..be557d25a 100644 --- a/stripe/_setup_intent_service.py +++ b/stripe/_setup_intent_service.py @@ -346,12 +346,6 @@ class ConfirmParamsPaymentMethodData(TypedDict): """ If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. """ - paypay: NotRequired[ - "SetupIntentService.ConfirmParamsPaymentMethodDataPaypay" - ] - """ - If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. - """ pix: NotRequired[ "SetupIntentService.ConfirmParamsPaymentMethodDataPix" ] @@ -449,7 +443,6 @@ class ConfirmParamsPaymentMethodData(TypedDict): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -835,9 +828,6 @@ class ConfirmParamsPaymentMethodDataPaynow(TypedDict): class ConfirmParamsPaymentMethodDataPaypal(TypedDict): pass - class ConfirmParamsPaymentMethodDataPaypay(TypedDict): - pass - class ConfirmParamsPaymentMethodDataPix(TypedDict): pass @@ -1818,12 +1808,6 @@ class CreateParamsPaymentMethodData(TypedDict): """ If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. """ - paypay: NotRequired[ - "SetupIntentService.CreateParamsPaymentMethodDataPaypay" - ] - """ - If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. - """ pix: NotRequired["SetupIntentService.CreateParamsPaymentMethodDataPix"] """ If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method. @@ -1919,7 +1903,6 @@ class CreateParamsPaymentMethodData(TypedDict): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -2303,9 +2286,6 @@ class CreateParamsPaymentMethodDataPaynow(TypedDict): class CreateParamsPaymentMethodDataPaypal(TypedDict): pass - class CreateParamsPaymentMethodDataPaypay(TypedDict): - pass - class CreateParamsPaymentMethodDataPix(TypedDict): pass @@ -3261,12 +3241,6 @@ class UpdateParamsPaymentMethodData(TypedDict): """ If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. """ - paypay: NotRequired[ - "SetupIntentService.UpdateParamsPaymentMethodDataPaypay" - ] - """ - If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. - """ pix: NotRequired["SetupIntentService.UpdateParamsPaymentMethodDataPix"] """ If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method. @@ -3362,7 +3336,6 @@ class UpdateParamsPaymentMethodData(TypedDict): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -3746,9 +3719,6 @@ class UpdateParamsPaymentMethodDataPaynow(TypedDict): class UpdateParamsPaymentMethodDataPaypal(TypedDict): pass - class UpdateParamsPaymentMethodDataPaypay(TypedDict): - pass - class UpdateParamsPaymentMethodDataPix(TypedDict): pass diff --git a/stripe/checkout/_session.py b/stripe/checkout/_session.py index 6dc78bebf..6144b8256 100644 --- a/stripe/checkout/_session.py +++ b/stripe/checkout/_session.py @@ -2187,7 +2187,6 @@ class CreateParams(RequestOptions): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -2376,7 +2375,6 @@ class CreateParams(RequestOptions): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", diff --git a/stripe/checkout/_session_service.py b/stripe/checkout/_session_service.py index 491e30e09..0abc0f8f3 100644 --- a/stripe/checkout/_session_service.py +++ b/stripe/checkout/_session_service.py @@ -158,7 +158,6 @@ class CreateParams(TypedDict): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -353,7 +352,6 @@ class CreateParams(TypedDict): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", diff --git a/stripe/test_helpers/_confirmation_token_service.py b/stripe/test_helpers/_confirmation_token_service.py index 1fac1e543..204cce1d6 100644 --- a/stripe/test_helpers/_confirmation_token_service.py +++ b/stripe/test_helpers/_confirmation_token_service.py @@ -283,12 +283,6 @@ class CreateParamsPaymentMethodData(TypedDict): """ If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method. """ - paypay: NotRequired[ - "ConfirmationTokenService.CreateParamsPaymentMethodDataPaypay" - ] - """ - If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method. - """ pix: NotRequired[ "ConfirmationTokenService.CreateParamsPaymentMethodDataPix" ] @@ -386,7 +380,6 @@ class CreateParamsPaymentMethodData(TypedDict): "payco", "paynow", "paypal", - "paypay", "pix", "promptpay", "revolut_pay", @@ -772,9 +765,6 @@ class CreateParamsPaymentMethodDataPaynow(TypedDict): class CreateParamsPaymentMethodDataPaypal(TypedDict): pass - class CreateParamsPaymentMethodDataPaypay(TypedDict): - pass - class CreateParamsPaymentMethodDataPix(TypedDict): pass