Skip to content

v11.3.0b2

Pre-release
Pre-release
Compare
Choose a tag to compare
@helenye-stripe helenye-stripe released this 07 Nov 22:10
· 0 commits to master since this 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.