Skip to content

Releases: stripe/stripe-python

v11.3.0b2

07 Nov 22:10
Compare
Choose a tag to compare
v11.3.0b2 Pre-release
Pre-release
  • #1421 Update generated code for beta
    • Add support for card_management on parameter class stripe.AccountSession.CreateParamsComponentsIssuingCardFeatures
    • Add support for card_spend_dispute_management on parameter class stripe.AccountSession.CreateParamsComponentsIssuingCardFeatures
    • Add support for cardholder_management on parameter class stripe.AccountSession.CreateParamsComponentsIssuingCardFeatures
    • Add support for spend_control_management on parameter class stripe.AccountSession.CreateParamsComponentsIssuingCardFeatures
    • Add support for disable_stripe_user_authentication on parameter class stripe.AccountSession.CreateParamsComponentsIssuingCardsListFeatures
    • Add support for account_holder_address on resource classes stripe.FundingInstructions.BankTransfer.FinancialAddress.Aba, stripe.FundingInstructions.BankTransfer.FinancialAddress.Swift, stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba, and stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift
    • Add support for account_holder_name on resource classes stripe.FundingInstructions.BankTransfer.FinancialAddress.Aba, stripe.FundingInstructions.BankTransfer.FinancialAddress.Swift, stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba, and stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift
    • Add support for account_type on resource classes stripe.FundingInstructions.BankTransfer.FinancialAddress.Aba, stripe.FundingInstructions.BankTransfer.FinancialAddress.Swift, stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba, and stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift
    • Add support for bank_address on resource classes stripe.FundingInstructions.BankTransfer.FinancialAddress.Aba, stripe.FundingInstructions.BankTransfer.FinancialAddress.Swift, stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Aba, and stripe.PaymentIntent.NextAction.DisplayBankTransferInstructions.FinancialAddress.Swift
    • Add support for payment_record on parameter class stripe.Invoice.AttachPaymentParams and resource class stripe.InvoicePayment.Payment
    • Add support for amount_overpaid on resources stripe.Invoice and stripe.QuotePreviewInvoice
    • Add support for resource stripe.PaymentAttemptRecord
    • Add support for submit_type on parameter class stripe.PaymentLink.ModifyParams
    • Add support for resource stripe.PaymentRecord
    • Add support for adaptive_# on parameter class stripe.checkout.Session.CreateParams and resource stripe.checkout.Session
    • Add support for mandate_options on parameter classes stripe.checkout.Session.CreateParamsPaymentMethodOptionsBacsDebit and stripe.checkout.Session.CreateParamsPaymentMethodOptionsSepaDebit and resource classes stripe.checkout.Session.PaymentMethodOptions.BacsDebit and stripe.checkout.Session.PaymentMethodOptions.SepaDebit
    • Add support for request_decremental_authorization on parameter class stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard and resource class stripe.checkout.Session.PaymentMethodOptions.Card
    • Add support for request_extended_authorization on parameter class stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard and resource class stripe.checkout.Session.PaymentMethodOptions.Card
    • Add support for request_incremental_authorization on parameter class stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard and resource class stripe.checkout.Session.PaymentMethodOptions.Card
    • Add support for request_multicapture on parameter class stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard and resource class stripe.checkout.Session.PaymentMethodOptions.Card
    • Add support for request_overcapture on parameter class stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard and resource class stripe.checkout.Session.PaymentMethodOptions.Card
    • Add support for capture_method on parameter classes stripe.checkout.Session.CreateParamsPaymentMethodOptionsKakaoPay, stripe.checkout.Session.CreateParamsPaymentMethodOptionsKrCard, stripe.checkout.Session.CreateParamsPaymentMethodOptionsNaverPay, stripe.checkout.Session.CreateParamsPaymentMethodOptionsPayco, and stripe.checkout.Session.CreateParamsPaymentMethodOptionsSamsungPay
    • Add support for merchant_amount on parameter class stripe.issuing.Authorization.CreateParams
    • Add support for merchant_currency on parameter class stripe.issuing.Authorization.CreateParams
    • Add support for resource stripe.issuing.FraudLiabilityDebit
    • Remove support for money_movement on parameter class stripe.AccountSession.CreateParamsComponentsFinancialAccountFeatures
    • Remove support for out_of_band_payment on parameter class stripe.Invoice.AttachPaymentParams and resource class stripe.InvoicePayment.Payment
    • Change type of disabled_reason on stripe.Account.FutureRequirements and stripe.Account.Requirements from str to Literal['action_required.requested_capabilities', 'listed', 'other', 'platform_paused', 'rejected.fraud', 'rejected.incomplete_verification', 'rejected.listed', 'rejected.other', 'rejected.platform_fraud', 'rejected.platform_other', 'rejected.platform_terms_of_service', 'rejected.terms_of_service', 'requirements.past_due', 'requirements.pending_verification', 'under_review']
    • Change type of disable_stripe_user_authentication on stripe.AccountSession.Components.AccountManagement.Features, stripe.AccountSession.Components.AccountOnboarding.Features, stripe.AccountSession.Components.Balances.Features, stripe.AccountSession.Components.NotificationBanner.Features, and stripe.AccountSession.Components.Payouts.Features from Optional[bool] to bool
    • Add support for li_vat on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.checkout.Session.CustomerDetails.TaxId.type, stripe.Customer.CreateParamsTaxIdDatum.type, stripe.Customer.CreateTaxIdParams.type, stripe.Invoice.CustomerTaxId.type, stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type, stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type, stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, stripe.QuotePreviewInvoice.CustomerTaxId.type, stripe.tax.Calculation.CustomerDetails.TaxId.type, stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type, stripe.tax.Transaction.CustomerDetails.TaxId.type, stripe.TaxId.type, and stripe.TaxId.CreateParams.type
    • Add support for invoice.payment_attempt_required on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for issuing_fraud_liability_debit.created on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for custom on enums stripe.Invoice.PaymentSettings.payment_method_types, stripe.Invoice.CreateParamsPaymentSettings.payment_method_types, stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types, stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types, stripe.Subscription.PaymentSettings.payment_method_types, stripe.Subscription.CreateParamsPaymentSettings.payment_method_types, and stripe.Subscription.ModifyParamsPaymentSettings.payment_method_types
    • Add support for service_tax on enums stripe.Invoice.AddLinesParamsLineTaxAmountTaxRateData.tax_type, stripe.Invoice.UpdateLinesParamsLineTaxAmountTaxRateData.tax_type, stripe.InvoiceLineItem.ModifyParamsTaxAmountTaxRateData.tax_type, stripe.tax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetails.tax_type, stripe.tax.Calculation.TaxBreakdown.TaxRateDetails.tax_type, stripe.tax.CalculationLineItem.TaxBreakdown.TaxRateDetails.tax_type, stripe.tax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetails.tax_type, stripe.TaxRate.tax_type, stripe.TaxRate.CreateParams.tax_type, and stripe.TaxRate.ModifyParams.tax_type
    • Add support for payment_record on enum stripe.InvoicePayment.Payment.type
    • Add support for link on enums stripe.PaymentIntent.PaymentMethodOptions.Card.network, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsCard.network, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsCard.network, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsCard.network, stripe.SetupIntent.PaymentMethodOptions.Card.network, stripe.SetupIntent.ConfirmParamsPaymentMethodOptionsCard.network, stripe.SetupIntent.CreateParamsPaymentMethodOptionsCard.network, stripe.SetupIntent.ModifyParamsPaymentMethodOptionsCard.network, stripe.Subscription.PaymentSettings.PaymentMethodOptions.Card.network, stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptionsCard.network, and stripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptionsCard.network
    • Change type of amount on stripe.issuing.Authorization.CreateParams from int to NotRequired[int]
    • Change type of origin_payment_method on stripe.treasury.InboundTransfer from str to Optional[str]

See the changelog for more details.

v11.3.0b1

29 Oct 23:08
Compare
Choose a tag to compare
v11.3.0b1 Pre-release
Pre-release
  • #1417 Update generated code for beta
    • Add support for id_bank_transfer_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for bank_bca_onboarding on parameter class stripe.Account.CreateParamsSettings and resource class stripe.Account.Settings
    • Add support for send_money on parameter class stripe.AccountSession.CreateParamsComponentsRecipientsFeatures
    • Add support for id_bank_transfer on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, stripe.Invoice.PaymentSettings.PaymentMethodOptions, stripe.PaymentIntent.PaymentMethodOptions, stripe.QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions, stripe.Refund.DestinationDetails, stripe.SetupAttempt.PaymentMethodDetails, and stripe.Subscription.PaymentSettings.PaymentMethodOptions, parameter classes stripe.ConfirmationToken.CreateParamsPaymentMethodData, stripe.Invoice.CreateParamsPaymentSettingsPaymentMethodOptions, stripe.Invoice.ModifyParamsPaymentSettingsPaymentMethodOptions, stripe.PaymentIntent.ConfirmParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions, stripe.PaymentIntent.CreateParamsPaymentMethodData, stripe.PaymentIntent.CreateParamsPaymentMethodOptions, stripe.PaymentIntent.ModifyParamsPaymentMethodData, stripe.PaymentIntent.ModifyParamsPaymentMethodOptions, stripe.PaymentMethod.CreateParams, stripe.PaymentMethodConfiguration.CreateParams, stripe.PaymentMethodConfiguration.ModifyParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, stripe.SetupIntent.ModifyParamsPaymentMethodData, stripe.Subscription.CreateParamsPaymentSettingsPaymentMethodOptions, and stripe.Subscription.ModifyParamsPaymentSettingsPaymentMethodOptions, and resources stripe.PaymentMethod and stripe.PaymentMethodConfiguration
    • Add support for _cls_trigger_action on resource stripe.PaymentIntent
    • Add support for trigger_action on resource stripe.PaymentIntent
    • Add support for gopay on parameter classes stripe.PaymentMethodConfiguration.CreateParams and stripe.PaymentMethodConfiguration.ModifyParams and resource stripe.PaymentMethodConfiguration
    • Add support for qris on parameter classes stripe.PaymentMethodConfiguration.CreateParams and stripe.PaymentMethodConfiguration.ModifyParams and resource stripe.PaymentMethodConfiguration
    • Add support for shopeepay on parameter classes stripe.PaymentMethodConfiguration.CreateParams and stripe.PaymentMethodConfiguration.ModifyParams and resource stripe.PaymentMethodConfiguration
    • Add support for id_bank_transfer on enums stripe.ConfirmationToken.PaymentMethodPreview.type, stripe.ConfirmationToken.CreateParamsPaymentMethodData.type, stripe.Customer.ListPaymentMethodsParams.type, stripe.Invoice.PaymentSettings.payment_method_types, stripe.Invoice.CreateParamsPaymentSettings.payment_method_types, stripe.Invoice.ModifyParamsPaymentSettings.payment_method_types, stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type, stripe.PaymentIntent.CreateParamsPaymentMethodData.type, stripe.PaymentIntent.ModifyParamsPaymentMethodData.type, stripe.PaymentMethod.type, stripe.PaymentMethod.CreateParams.type, stripe.PaymentMethod.ListParams.type, stripe.QuotePreviewInvoice.PaymentSettings.payment_method_types, stripe.SetupIntent.ConfirmParamsPaymentMethodData.type, stripe.SetupIntent.CreateParamsPaymentMethodData.type, stripe.SetupIntent.ModifyParamsPaymentMethodData.type, stripe.Subscription.PaymentSettings.payment_method_types, stripe.Subscription.CreateParamsPaymentSettings.payment_method_types, and stripe.Subscription.ModifyParamsPaymentSettings.payment_method_types
    • Change type of enhanced_eligibility_types on stripe.Dispute from Optional[List[Literal['visa_compelling_evidence_3']]] to List[Literal['visa_compelling_evidence_3']]
    • Change type of enhanced_evidence on stripe.Dispute.Evidence from Optional[EnhancedEvidence] to EnhancedEvidence
    • Change type of enhanced_eligibility on stripe.Dispute.EvidenceDetails from Optional[EnhancedEligibility] to EnhancedEligibility
    • Remove support for payout_statement_descriptor_profanity on enums stripe.Invoice.LastFinalizationError.code, stripe.PaymentIntent.LastPaymentError.code, stripe.QuotePreviewInvoice.LastFinalizationError.code, stripe.SetupAttempt.SetupError.code, and stripe.SetupIntent.LastSetupError.code

See the changelog for more details.

v11.2.0

29 Oct 21:17
Compare
Choose a tag to compare
  • #1411 This release changes the pinned API version to 2024-10-28.acacia.
    • Add support for resource stripe.v2.EventDestinations
    • Add support for create, retrieve, update, list, delete, disable, enable and ping methods on resource V2.EventDestinations
    • Add support for alma_payments, kakao_pay_payments, kr_card_payments, naver_pay_payments, payco_payments, samsung_pay_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for groups on parameter class stripe.Account.CreateParams and resource stripe.Account
    • Add support for disable_stripe_user_authentication on resource classes stripe.AccountSession.Components.AccountManagement.Features, stripe.AccountSession.Components.AccountOnboarding.Features, stripe.AccountSession.Components.Balances.Features, stripe.AccountSession.Components.NotificationBanner.Features, and stripe.AccountSession.Components.Payouts.Features and parameter classes stripe.AccountSession.CreateParamsComponentsAccountManagementFeatures, stripe.AccountSession.CreateParamsComponentsAccountOnboardingFeatures, stripe.AccountSession.CreateParamsComponentsBalancesFeatures, stripe.AccountSession.CreateParamsComponentsNotificationBannerFeatures, and stripe.AccountSession.CreateParamsComponentsPayoutsFeatures
    • Add support for alma on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, stripe.PaymentIntent.PaymentMethodOptions, and stripe.Refund.DestinationDetails, parameter classes stripe.ConfirmationToken.CreateParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions, stripe.PaymentIntent.CreateParamsPaymentMethodData, stripe.PaymentIntent.CreateParamsPaymentMethodOptions, stripe.PaymentIntent.ModifyParamsPaymentMethodData, stripe.PaymentIntent.ModifyParamsPaymentMethodOptions, stripe.PaymentMethod.CreateParams, stripe.PaymentMethodConfiguration.CreateParams, stripe.PaymentMethodConfiguration.ModifyParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, and stripe.SetupIntent.ModifyParamsPaymentMethodData, and resources stripe.PaymentMethod and stripe.PaymentMethodConfiguration
    • Add support for kakao_pay, kr_card on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, stripe.Mandate.PaymentMethodDetails, stripe.PaymentIntent.PaymentMethodOptions, stripe.SetupAttempt.PaymentMethodDetails, and stripe.checkout.Session.PaymentMethodOptions, parameter classes stripe.ConfirmationToken.CreateParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions, stripe.PaymentIntent.CreateParamsPaymentMethodData, stripe.PaymentIntent.CreateParamsPaymentMethodOptions, stripe.PaymentIntent.ModifyParamsPaymentMethodData, stripe.PaymentIntent.ModifyParamsPaymentMethodOptions, stripe.PaymentMethod.CreateParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, stripe.SetupIntent.ModifyParamsPaymentMethodData, and stripe.checkout.Session.CreateParamsPaymentMethodOptions, and resource stripe.PaymentMethod
    • Add support for naver_pay on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, stripe.PaymentIntent.PaymentMethodOptions, and stripe.checkout.Session.PaymentMethodOptions, parameter classes stripe.ConfirmationToken.CreateParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions, stripe.PaymentIntent.CreateParamsPaymentMethodData, stripe.PaymentIntent.CreateParamsPaymentMethodOptions, stripe.PaymentIntent.ModifyParamsPaymentMethodData, stripe.PaymentIntent.ModifyParamsPaymentMethodOptions, stripe.PaymentMethod.CreateParams, stripe.PaymentMethod.ModifyParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, stripe.SetupIntent.ModifyParamsPaymentMethodData, and stripe.checkout.Session.CreateParamsPaymentMethodOptions, and resource stripe.PaymentMethod
    • Add support for payco, samsung_pay on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, stripe.PaymentIntent.PaymentMethodOptions, and stripe.checkout.Session.PaymentMethodOptions, parameter classes stripe.ConfirmationToken.CreateParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions, stripe.PaymentIntent.CreateParamsPaymentMethodData, stripe.PaymentIntent.CreateParamsPaymentMethodOptions, stripe.PaymentIntent.ModifyParamsPaymentMethodData, stripe.PaymentIntent.ModifyParamsPaymentMethodOptions, stripe.PaymentMethod.CreateParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, stripe.SetupIntent.ModifyParamsPaymentMethodData, and stripe.checkout.Session.CreateParamsPaymentMethodOptions, and resource stripe.PaymentMethod
    • Add support for enhanced_evidence on resource class stripe.Dispute.Evidence and parameter class stripe.Dispute.ModifyParamsEvidence
    • Add support for enhanced_eligibility on resource class stripe.Dispute.EvidenceDetails
    • Add support for enhanced_eligibility_types on resource stripe.Dispute
    • Add support for automatically_finalizes_at on parameter classes stripe.Invoice.CreateParams and stripe.Invoice.ModifyParams
    • Add support for amazon_pay on resource stripe.PaymentMethodDomain
    • Add support for flat_amount, rate_type on resource stripe.TaxRate and resource class stripe.tax.Calculation.TaxBreakdown.TaxRateDetails
    • Add support for schedule_at_period_end on parameter classes stripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionUpdate and stripe.billing_portal.Configuration.ModifyParamsFeaturesSubscriptionUpdate and resource class stripe.billing_portal.Configuration.Features.SubscriptionUpdate
    • Add support for metadata on parameter class stripe.forwarding.Request.CreateParams and resource stripe.forwarding.Request
    • Add support for _cls_submit_card on resource stripe.issuing.Card
    • Add support for submit_card on resource stripe.issuing.Card
    • Add support for by, cr, ec, ma, md, rs, ru, tz, uz on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for pln on parameter classes stripe.terminal.Configuration.CreateParamsTipping and stripe.terminal.Configuration.ModifyParamsTipping and resource class stripe.terminal.Configuration.Tipping
    • Change type of business_profile on stripe.billing_portal.Configuration.CreateParams from Configuration.CreateParamsBusinessProfile to NotRequired[Configuration.CreateParamsBusinessProfile]
    • Add support for by_tin, ma_vat, md_vat, tz_vat, uz_tin, uz_vat on enums stripe.checkout.Session.CustomerDetails.TaxId.type, stripe.Customer.CreateParamsTaxIdDatum.type, stripe.Customer.CreateTaxIdParams.type, stripe.Invoice.CustomerTaxId.type, stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type, stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type, stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type, stripe.tax.Calculation.CustomerDetails.TaxId.type, stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type, stripe.tax.Transaction.CustomerDetails.TaxId.type, stripe.TaxId.type, and stripe.TaxId.CreateParams.type
    • Add support for alma, kakao_pay, kr_card, naver_pay, payco on enums stripe.checkout.Session.CreateParams.payment_method_types, stripe.ConfirmationToken.PaymentMethodPreview.type, stripe.ConfirmationToken.CreateParamsPaymentMethodData.type, stripe.Customer.ListPaymentMethodsParams.type, stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type, stripe.PaymentIntent.CreateParamsPaymentMethodData.type, stripe.PaymentIntent.ModifyParamsPaymentMethodData.type, stripe.PaymentLink.payment_method_types, stripe.PaymentLink.CreateParams.payment_method_types, stripe.PaymentLink.ModifyParams.payment_method_types, stripe.PaymentMethod.type, stripe.PaymentMethod.CreateParams.type, stripe.PaymentMethod.ListParams.type, stripe.SetupIntent.ConfirmParamsPaymentMethodData.type, stripe.SetupIntent.CreateParamsPaymentMethodData.type, and stripe.SetupIntent.ModifyParamsPaymentMethodData.type
    • Add support for samsung_pay on enums stripe.checkout.Session.CreateParams.payment_method_types, stripe.ConfirmationToken.PaymentMethodPreview.type, stripe.ConfirmationToken.CreateParamsPaymentMethodData.type, stripe.Customer.ListPaymentMethodsParams.type, stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type, stripe.PaymentIntent.CreateParamsPaymentMethodData.type, stripe.PaymentIntent.ModifyParamsPaymentMethodData.type, stripe.PaymentMethod.type, stripe.PaymentMethod.CreateParams.type, stripe.PaymentMethod.ListParams.type, stripe.SetupIntent.ConfirmParamsPaymentMethodData.type, stripe.SetupIntent.CreateParamsPaymentMethodData.type, and stripe.SetupIntent.ModifyParamsPaymentMethodData.type
    • Add support for auto on enum stripe.Customer.ModifyParamsTax.validate_location
    • Add support for issuing_transaction.purchase_details_receipt_updated, refund.failed on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for `jp...
Read more

v11.2.0b3

18 Oct 19:03
Compare
Choose a tag to compare
v11.2.0b3 Pre-release
Pre-release
  • #1413 Update generated code for beta
    • Add support for alma_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for gopay_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for kakao_pay_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for kr_card_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for naver_pay_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for payco_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for qris_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for samsung_pay_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for shopeepay_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for treasury_evolve on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for treasury_fifth_third on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for treasury_goldman_sachs on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for alma on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, stripe.PaymentIntent.PaymentMethodOptions, and stripe.Refund.DestinationDetails, parameter classes stripe.ConfirmationToken.CreateParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions, stripe.PaymentIntent.CreateParamsPaymentMethodData, stripe.PaymentIntent.CreateParamsPaymentMethodOptions, stripe.PaymentIntent.ModifyParamsPaymentMethodData, stripe.PaymentIntent.ModifyParamsPaymentMethodOptions, stripe.PaymentMethod.CreateParams, stripe.PaymentMethodConfiguration.CreateParams, stripe.PaymentMethodConfiguration.ModifyParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, and stripe.SetupIntent.ModifyParamsPaymentMethodData, and resources stripe.PaymentMethod and stripe.PaymentMethodConfiguration
    • Add support for gopay on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, and stripe.PaymentIntent.PaymentMethodOptions, parameter classes stripe.ConfirmationToken.CreateParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions, stripe.PaymentIntent.CreateParamsPaymentMethodData, stripe.PaymentIntent.CreateParamsPaymentMethodOptions, stripe.PaymentIntent.ModifyParamsPaymentMethodData, stripe.PaymentIntent.ModifyParamsPaymentMethodOptions, stripe.PaymentMethod.CreateParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, and stripe.SetupIntent.ModifyParamsPaymentMethodData, and resource stripe.PaymentMethod
    • Add support for qris on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, and stripe.PaymentIntent.PaymentMethodOptions, parameter classes stripe.ConfirmationToken.CreateParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions, stripe.PaymentIntent.CreateParamsPaymentMethodData, stripe.PaymentIntent.CreateParamsPaymentMethodOptions, stripe.PaymentIntent.ModifyParamsPaymentMethodData, stripe.PaymentIntent.ModifyParamsPaymentMethodOptions, stripe.PaymentMethod.CreateParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, and stripe.SetupIntent.ModifyParamsPaymentMethodData, and resource stripe.PaymentMethod
    • Add support for shopeepay on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, and stripe.PaymentIntent.PaymentMethodOptions, parameter classes stripe.ConfirmationToken.CreateParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions, stripe.PaymentIntent.CreateParamsPaymentMethodData, stripe.PaymentIntent.CreateParamsPaymentMethodOptions, stripe.PaymentIntent.ModifyParamsPaymentMethodData, stripe.PaymentIntent.ModifyParamsPaymentMethodOptions, stripe.PaymentMethod.CreateParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, and stripe.SetupIntent.ModifyParamsPaymentMethodData, and resource stripe.PaymentMethod
    • Add support for amazon_pay on resource stripe.PaymentMethodDomain
    • Add support for schedule_at_period_end on parameter classes stripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionUpdate and stripe.billing_portal.Configuration.ModifyParamsFeaturesSubscriptionUpdate and resource class stripe.billing_portal.Configuration.Features.SubscriptionUpdate
    • Add support for metadata on parameter class stripe.forwarding.Request.CreateParams
    • Add support for external_reference on parameter class stripe.tax.Form.ListParamsPayee and resource class stripe.tax.Form.Payee
    • Add support for au_serr on resource stripe.tax.Form
    • Add support for ca_mrdp on resource stripe.tax.Form
    • Add support for eu_dac7 on resource stripe.tax.Form
    • Add support for gb_mrdp on resource stripe.tax.Form
    • Add support for nz_mrdp on resource stripe.tax.Form
    • Add support for pln on parameter classes stripe.terminal.Configuration.CreateParamsTipping and stripe.terminal.Configuration.ModifyParamsTipping and resource class stripe.terminal.Configuration.Tipping
    • Add support for bank on parameter classes stripe.treasury.FinancialAccount.CreateParamsFeaturesFinancialAddressesAba, stripe.treasury.FinancialAccount.ModifyParamsFeaturesFinancialAddressesAba, and stripe.treasury.FinancialAccount.UpdateFeaturesParamsFinancialAddressesAba and resource class stripe.treasury.FinancialAccountFeatures.FinancialAddresses.Aba
    • Change type of business_profile on stripe.billing_portal.Configuration.CreateParams from Configuration.CreateParamsBusinessProfile to NotRequired[Configuration.CreateParamsBusinessProfile]
    • Add support for alma on enums stripe.checkout.Session.CreateParams.payment_method_types, stripe.ConfirmationToken.PaymentMethodPreview.type, stripe.ConfirmationToken.CreateParamsPaymentMethodData.type, stripe.Customer.ListPaymentMethodsParams.type, stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type, stripe.PaymentIntent.CreateParamsPaymentMethodData.type, stripe.PaymentIntent.ModifyParamsPaymentMethodData.type, stripe.PaymentLink.payment_method_types, stripe.PaymentLink.CreateParams.payment_method_types, stripe.PaymentLink.ModifyParams.payment_method_types, stripe.PaymentMethod.type, stripe.PaymentMethod.CreateParams.type, stripe.PaymentMethod.ListParams.type, stripe.SetupIntent.ConfirmParamsPaymentMethodData.type, stripe.SetupIntent.CreateParamsPaymentMethodData.type, and stripe.SetupIntent.ModifyParamsPaymentMethodData.type
    • Add support for gopay on enums stripe.checkout.Session.CreateParams.payment_method_types, stripe.ConfirmationToken.PaymentMethodPreview.type, stripe.ConfirmationToken.CreateParamsPaymentMethodData.type, stripe.Customer.ListPaymentMethodsParams.type, stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type, stripe.PaymentIntent.CreateParamsPaymentMethodData.type, stripe.PaymentIntent.ModifyParamsPaymentMethodData.type, stripe.PaymentLink.payment_method_types, stripe.PaymentLink.CreateParams.payment_method_types, stripe.PaymentLink.ModifyParams.payment_method_types, stripe.PaymentMethod.type, stripe.PaymentMethod.CreateParams.type, stripe.PaymentMethod.ListParams.type, stripe.SetupIntent.ConfirmParamsPaymentMethodData.type, stripe.SetupIntent.CreateParamsPaymentMethodData.type, and stripe.SetupIntent.ModifyParamsPaymentMethodData.type
    • Add support for qris on enums stripe.checkout.Session.CreateParams.payment_method_types, stripe.ConfirmationToken.PaymentMethodPreview.type, stripe.ConfirmationToken.CreateParamsPaymentMethodData.type, stripe.Customer.ListPaymentMethodsParams.type, stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type, stripe.PaymentIntent.CreateParamsPaymentMethodData.type, stripe.PaymentIntent.ModifyParamsPaymentMethodData.type, stripe.PaymentLink.payment_method_types, stripe.PaymentLink.CreateParams.payment_method_types, stripe.PaymentLink.ModifyParams.payment_method_types, stripe.PaymentMethod.type, stripe.PaymentMethod.CreateParams.type, stripe.PaymentMethod.ListParams.type, stripe.SetupIntent.ConfirmParamsPaymentMethodData.type, stripe.SetupIntent.CreateParamsPaymentMethodData.type, and stripe.SetupIntent.ModifyParamsPaymentMethodData.type
    • Add support for shopeepay on enums stripe.checkout.Session.CreateParams.payment_method_types, stripe.ConfirmationToken.PaymentMethodPreview.type, stripe.ConfirmationToken.CreateParamsPaymentMethodData.type, stripe.Customer.ListPaymentMethodsParams.type, `...
Read more

v11.1.1

18 Oct 18:42
Compare
Choose a tag to compare
  • #1414 Deserialize into correct v2 EventData types

    • Fixes a bug where v2 EventData was not being deserialized into the appropriate type for V1BillingMeterErrorReportTriggeredEvent and V1BillingMeterNoMeterFoundEvent
  • #1415 update object tags for meter-related classes

    • fixes a bug where the object property of the MeterEvent, MeterEventAdjustment, and MeterEventSession didn't match the server.
  • #1412 Clean up examples

See the changelog for more details.

v11.2.0b2

08 Oct 19:26
Compare
Choose a tag to compare
v11.2.0b2 Pre-release
Pre-release
  • #1396 Update generated code for beta
    • Add support for groups on parameter class stripe.Account.CreateParams and resource stripe.Account
    • Add support for disable_stripe_user_authentication on resource classes stripe.AccountSession.Components.AccountManagement.Features, stripe.AccountSession.Components.AccountOnboarding.Features, stripe.AccountSession.Components.Balances.Features, stripe.AccountSession.Components.NotificationBanner.Features, and stripe.AccountSession.Components.Payouts.Features and parameter classes stripe.AccountSession.CreateParamsComponentsAccountManagementFeatures, stripe.AccountSession.CreateParamsComponentsAccountOnboardingFeatures, stripe.AccountSession.CreateParamsComponentsBalancesFeatures, stripe.AccountSession.CreateParamsComponentsFinancialAccountFeatures, stripe.AccountSession.CreateParamsComponentsNotificationBannerFeatures, and stripe.AccountSession.CreateParamsComponentsPayoutsFeatures
    • Add support for card_spend_dispute_management on parameter class stripe.AccountSession.CreateParamsComponentsIssuingCardsListFeatures
    • Add support for spend_control_management on parameter class stripe.AccountSession.CreateParamsComponentsIssuingCardsListFeatures
    • Add support for kakao_pay and kr_card on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, stripe.Mandate.PaymentMethodDetails, stripe.PaymentIntent.PaymentMethodOptions, and stripe.SetupAttempt.PaymentMethodDetails, parameter classes stripe.ConfirmationToken.CreateParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions, stripe.PaymentIntent.CreateParamsPaymentMethodData, stripe.PaymentIntent.CreateParamsPaymentMethodOptions, stripe.PaymentIntent.ModifyParamsPaymentMethodData, stripe.PaymentIntent.ModifyParamsPaymentMethodOptions, stripe.PaymentMethod.CreateParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, and stripe.SetupIntent.ModifyParamsPaymentMethodData, and resource stripe.PaymentMethod
    • Add support for naver_pay on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, and stripe.PaymentIntent.PaymentMethodOptions, parameter classes stripe.ConfirmationToken.CreateParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions, stripe.PaymentIntent.CreateParamsPaymentMethodData, stripe.PaymentIntent.CreateParamsPaymentMethodOptions, stripe.PaymentIntent.ModifyParamsPaymentMethodData, stripe.PaymentIntent.ModifyParamsPaymentMethodOptions, stripe.PaymentMethod.CreateParams, stripe.PaymentMethod.ModifyParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, and stripe.SetupIntent.ModifyParamsPaymentMethodData, and resource stripe.PaymentMethod
    • Add support for payco and samsung_pay on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, and stripe.PaymentIntent.PaymentMethodOptions, parameter classes stripe.ConfirmationToken.CreateParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions, stripe.PaymentIntent.CreateParamsPaymentMethodData, stripe.PaymentIntent.CreateParamsPaymentMethodOptions, stripe.PaymentIntent.ModifyParamsPaymentMethodData, stripe.PaymentIntent.ModifyParamsPaymentMethodOptions, stripe.PaymentMethod.CreateParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, and stripe.SetupIntent.ModifyParamsPaymentMethodData, and resource stripe.PaymentMethod
    • Add support for line_items on parameter classes stripe.Order.CreateParamsPaymentSettingsPaymentMethodOptionsPaypal, stripe.Order.ModifyParamsPaymentSettingsPaymentMethodOptionsPaypal, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsPaypal, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsPaypal, and stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsPaypal and resource classes stripe.Order.Payment.Settings.PaymentMethodOptions.Paypal and stripe.PaymentIntent.PaymentMethodOptions.Paypal
    • Add support for flat_amount on resource stripe.TaxRate and resource class stripe.tax.Calculation.TaxBreakdown.TaxRateDetails
    • Add support for rate_type on resource stripe.TaxRate and resource class stripe.tax.Calculation.TaxBreakdown.TaxRateDetails
    • Add support for metadata on resource stripe.forwarding.Request
    • Add support for _cls_submit_card on resource stripe.issuing.Card
    • Add support for submit_card on resource stripe.issuing.Card
    • Add support for by, cr, ec, ma, md, rs, ru, tz, and uz on resource class stripe.tax.Registration.CountryOptions and parameter class stripe.tax.Registration.CreateParamsCountryOptions
    • Add support for by_tin, ma_vat, md_vat, tz_vat, uz_tin, and uz_vat on enums stripe.checkout.Session.CollectedInformation.TaxId.type, stripe.checkout.Session.CustomerDetails.TaxId.type, stripe.Customer.CreateParamsTaxIdDatum.type, stripe.Customer.CreateTaxIdParams.type, stripe.Invoice.CustomerTaxId.type, stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type, stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type, stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type, stripe.Order.TaxDetails.TaxId.type, stripe.Order.CreateParamsTaxDetailsTaxId.type, stripe.Order.ModifyParamsTaxDetailsTaxId.type, stripe.QuotePreviewInvoice.CustomerTaxId.type, stripe.tax.Calculation.CustomerDetails.TaxId.type, stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type, stripe.tax.Transaction.CustomerDetails.TaxId.type, stripe.TaxId.type, and stripe.TaxId.CreateParams.type
    • Add support for kakao_pay, kr_card, naver_pay, payco, and samsung_pay on enums stripe.checkout.Session.CreateParams.payment_method_types, stripe.ConfirmationToken.PaymentMethodPreview.type, stripe.ConfirmationToken.CreateParamsPaymentMethodData.type, stripe.Customer.ListPaymentMethodsParams.type, stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type, stripe.PaymentIntent.CreateParamsPaymentMethodData.type, stripe.PaymentIntent.ModifyParamsPaymentMethodData.type, stripe.PaymentMethod.type, stripe.PaymentMethod.CreateParams.type, stripe.PaymentMethod.ListParams.type, stripe.SetupIntent.ConfirmParamsPaymentMethodData.type, stripe.SetupIntent.CreateParamsPaymentMethodData.type, and stripe.SetupIntent.ModifyParamsPaymentMethodData.type
    • Add support for refund.failed on enums stripe.Event.type, stripe.WebhookEndpoint.CreateParams.enabled_events, and stripe.WebhookEndpoint.ModifyParams.enabled_events
    • Add support for payout_statement_descriptor_profanity on enums stripe.Invoice.LastFinalizationError.code, stripe.PaymentIntent.LastPaymentError.code, stripe.QuotePreviewInvoice.LastFinalizationError.code, stripe.SetupAttempt.SetupError.code, and stripe.SetupIntent.LastSetupError.code
    • Add support for retail_delivery_fee on enums stripe.Invoice.AddLinesParamsLineTaxAmountTaxRateData.tax_type, stripe.Invoice.UpdateLinesParamsLineTaxAmountTaxRateData.tax_type, stripe.InvoiceLineItem.ModifyParamsTaxAmountTaxRateData.tax_type, stripe.tax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetails.tax_type, stripe.tax.Calculation.TaxBreakdown.TaxRateDetails.tax_type, stripe.tax.CalculationLineItem.TaxBreakdown.TaxRateDetails.tax_type, stripe.tax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetails.tax_type, stripe.TaxRate.tax_type, stripe.TaxRate.CreateParams.tax_type, and stripe.TaxRate.ModifyParams.tax_type
    • Add support for expired on enums stripe.issuing.Authorization.status and stripe.issuing.Authorization.ListParams.status
    • Add support for state_retail_delivery_fee on enums stripe.tax.Registration.CountryOptions.Us.type and stripe.tax.Registration.CreateParamsCountryOptionsUs.type

See the changelog for more details.

v11.2.0b1

03 Oct 23:44
Compare
Choose a tag to compare
v11.2.0b1 Pre-release
Pre-release
  • #1407 Updates beta branch with changes in master & update generated code
    • Add support for reporting_chart on parameter class stripe.AccountSession.CreateParamsComponents
    • Add support for total_pretax_credit_amounts on resource stripe.QuotePreviewInvoice
    • Add support for allow_redisplay on parameter class stripe.terminal.Reader.CollectPaymentMethodParamsCollectConfig
    • Remove support for from_schedule on resource class stripe.Quote.SubscriptionData
    • Move raw_request and related methods from _raw_request module to the StripeClient class
    • Remove _preview module; use raw request methods in the StripeClient class instead

See the changelog for more details.

v11.1.0

03 Oct 22:50
Compare
Choose a tag to compare
  • #1409 Update the class for ThinEvent to include livemode
  • #1408 Update generated code
    • Remove the support for resource Margin that was accidentally made public in the last release

See the changelog for more details.

v11.0.0

01 Oct 18:35
Compare
Choose a tag to compare
  • #1404 Support for APIs in the new API version 2024-09-30.acacia

    This release changes the pinned API version to 2024-09-30.acacia. Please read the API Upgrade Guide and carefully review the API changes before upgrading.

    ⚠️ Breaking changes due to changes in the API

    • Rename for usage_threshold_config to usage_threshold on parameter class stripe.billing.Alert.CreateParams and resource stripe.billing.Alert
    • Remove support for filter on parameter class stripe.billing.Alert.CreateParams and resource stripe.billing.Alert. Use the filters on the usage_threshold instead
      • Remove support for customer_consent_collected on parameter class stripe.terminal.Reader.ProcessSetupIntentParams

    ⚠️ Other Breaking changes in the SDK

    • Adjusted default values for HTTP requests. You can use the old defaults by setting them explicitly. New values are:
      • max retries: 0 -> 2
      • max timeout (seconds): 2 -> 5
    • Add method parse_thin_event() on the StripeClient class to parse thin events. Rename construct_event() method on the same class to parse_snapshot_event() to clearly distinguish between the two kinds of events.

    Additions

    • Add support for custom_unit_amount on parameter class stripe.Product.CreateParamsDefaultPriceData
    • Add support for usage_threshold on parameter class stripe.billing.Alert.CreateParams and resource stripe.billing.Alert
    • Add support for allow_redisplay on parameter classes stripe.terminal.Reader.ProcessPaymentIntentParamsProcessConfig and stripe.terminal.Reader.ProcessSetupIntentParams
    • Add support for international_transaction on enum stripe.treasury.ReceivedCredit.failure_code
    • Add support for 2024-09-30.acacia on enum stripe.WebhookEndpoint.CreateParams.api_version
    • Add support for new Usage Billing APIs stripe.v2.billing.MeterEvent, stripe.v2.billing.MeterEventAdjustments, stripe.v2.billing.MeterEventSession, stripe.v2.billing.MeterEventStream and the new Events API stripe.v2.core.Events under the v2 namespace
    • Add method rawRequest() on the StripeClient class that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK.

    Other changes

    • Change type of default_allowed_updates on stripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionUpdate from Union[Literal[''], List[Literal['price', 'promotion_code', 'quantity']]] to NotRequired[Literal['']|List[Literal['price', 'promotion_code', 'quantity']]]
    • Change type of products on stripe.billing_portal.Configuration.CreateParamsFeaturesSubscriptionUpdate from Union[Literal[''], List[Configuration.CreateParamsFeaturesSubscriptionUpdateProduct]] to NotRequired[Literal['']|List[Configuration.CreateParamsFeaturesSubscriptionUpdateProduct]]

See the changelog for more details.

v10.13.0b1

18 Sep 21:52
Compare
Choose a tag to compare
v10.13.0b1 Pre-release
Pre-release
  • #1395 Update generated code for beta
    • Add support for send_money on parameter class stripe.AccountSession.CreateParamsComponentsFinancialAccountFeatures
    • Add support for transfer_balance on parameter class stripe.AccountSession.CreateParamsComponentsFinancialAccountFeatures
    • Add support for automatically_finalizes_at on resource stripe.QuotePreviewInvoice
    • Remove support for resource stripe.QuotePhase
    • Add support for rechnung on enums stripe.PaymentLink.payment_method_types, stripe.PaymentLink.CreateParams.payment_method_types, and stripe.PaymentLink.ModifyParams.payment_method_types
    • Add support for terminal_reader_invalid_location_for_activation on enum stripe.QuotePreviewInvoice.LastFinalizationError.code

See the changelog for more details.