Skip to content

Releases: stripe/stripe-python

v14.4.0a3

11 Feb 19:46

Choose a tag to compare

v14.4.0a3 Pre-release
Pre-release
  • #1730 Update generated code for private-preview
    • Add support for new resources v2.billing.CadenceSpendModifier, v2.billing.OneTimeItem, and v2.billing.RateCardCustomPricingUnitOverageRate
    • Add support for create, delete, list, and retrieve methods on resource v2.billing.RateCardCustomPricingUnitOverageRate
    • Add support for create, list, modify, and retrieve methods on resource v2.billing.OneTimeItem
    • Add support for retrieve method on resource v2.billing.CadenceSpendModifier
    • Change EventsV2CoreHealthFraudRateIncreasedEvent.Impact.RealizedFraudAmount.value, EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.Impact.ApprovedAmount.value, EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.Impact.DeclinedAmount.value, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.Impact.ApprovedAmount.value, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.Impact.DeclinedAmount.value, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.Impact.ApprovedAmount.value, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.Impact.DeclinedAmount.value, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.Impact.ApprovedAmount.value, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.Impact.DeclinedAmount.value, V2.Billing.ServiceAction.CreditGrant.Amount.Monetary.value, V2.Billing.ServiceAction.CreditGrantPerTenant.Amount.Monetary.value, V2.Core.Account.Identity.BusinessDetail.AnnualRevenue.Amount.value, V2.Core.Account.Identity.BusinessDetail.MonthlyEstimatedRevenue.Amount.value, V2.FinancialAddressGeneratedMicrodeposits.Amount.value, V2.MoneyManagement.Adjustment.Amount.value, V2.MoneyManagement.CurrencyConversion.From.Amount.value, V2.MoneyManagement.CurrencyConversion.To.Amount.value, V2.MoneyManagement.FinancialAccount.Balance.Available.value, V2.MoneyManagement.FinancialAccount.Balance.InboundPending.value, V2.MoneyManagement.FinancialAccount.Balance.OutboundPending.value, V2.MoneyManagement.FinancialAccount.Payment.StartingBalance.Available.value, V2.MoneyManagement.InboundTransfer.Amount.value, V2.MoneyManagement.InboundTransfer.From.Debited.value, V2.MoneyManagement.InboundTransfer.To.Credited.value, V2.MoneyManagement.OutboundPayment.Amount.value, V2.MoneyManagement.OutboundPayment.From.Debited.value, V2.MoneyManagement.OutboundPayment.To.Credited.value, V2.MoneyManagement.OutboundPaymentQuote.Amount.value, V2.MoneyManagement.OutboundPaymentQuote.EstimatedFee.Amount.value, V2.MoneyManagement.OutboundPaymentQuote.From.Debited.value, V2.MoneyManagement.OutboundPaymentQuote.To.Credited.value, V2.MoneyManagement.OutboundTransfer.Amount.value, V2.MoneyManagement.OutboundTransfer.From.Debited.value, V2.MoneyManagement.OutboundTransfer.To.Credited.value, V2.MoneyManagement.ReceivedCredit.Amount.value, V2.MoneyManagement.ReceivedCredit.ExternalAmount.value, V2.MoneyManagement.ReceivedDebit.Amount.value, V2.MoneyManagement.ReceivedDebit.CardSpend.Authorization.Amount.value, V2.MoneyManagement.ReceivedDebit.CardSpend.CardTransaction.Amount.value, V2.MoneyManagement.ReceivedDebit.ExternalAmount.value, V2.MoneyManagement.Transaction.Amount.value, V2.MoneyManagement.Transaction.BalanceImpact.Available.value, V2.MoneyManagement.Transaction.BalanceImpact.InboundPending.value, V2.MoneyManagement.Transaction.BalanceImpact.OutboundPending.value, V2.MoneyManagement.TransactionEntry.BalanceImpact.Available.value, V2.MoneyManagement.TransactionEntry.BalanceImpact.InboundPending.value, V2.MoneyManagement.TransactionEntry.BalanceImpact.OutboundPending.value, V2.Payments.OffSessionPayment.AmountCapturable.value, V2.Payments.OffSessionPayment.AmountRequested.value, V2.Payments.SettlementAllocationIntent.Amount.value, V2.Payments.SettlementAllocationIntentSplit.Amount.value, v2.FinancialAddressCreditSimulationCreditParamsAmount.value, v2.billing.ServiceActionCreateParamsCreditGrantAmountMonetary.value, v2.billing.ServiceActionCreateParamsCreditGrantPerTenantAmountMonetary.value, v2.core.AccountCreateParamsIdentityBusinessDetailAnnualRevenueAmount.value, v2.core.AccountCreateParamsIdentityBusinessDetailMonthlyEstimatedRevenueAmount.value, v2.core.AccountModifyParamsIdentityBusinessDetailAnnualRevenueAmount.value, v2.core.AccountModifyParamsIdentityBusinessDetailMonthlyEstimatedRevenueAmount.value, v2.core.AccountTokenCreateParamsIdentityBusinessDetailAnnualRevenueAmount.value, v2.core.AccountTokenCreateParamsIdentityBusinessDetailMonthlyEstimatedRevenueAmount.value, v2.money_management.CurrencyConversionCreateParamsFromAmount.value, v2.money_management.CurrencyConversionCreateParamsToAmount.value, v2.money_management.InboundTransferCreateParamsAmount.value, v2.money_management.OutboundPaymentCreateParamsAmount.value, v2.money_management.OutboundPaymentQuoteCreateParamsAmount.value, v2.money_management.OutboundTransferCreateParamsAmount.value, v2.payments.OffSessionPaymentCreateParamsAmount.value, v2.payments.SettlementAllocationIntentCreateParamsAmount.value, v2.payments.SettlementAllocationIntentModifyParamsAmount.value, and v2.payments.SettlementAllocationIntentSplitCreateParamsAmount.value to be required
    • Change EventsV2CoreHealthFraudRateIncreasedEvent.Impact.RealizedFraudAmount.currency, EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.Impact.ApprovedAmount.currency, EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.Impact.DeclinedAmount.currency, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.Impact.ApprovedAmount.currency, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.Impact.DeclinedAmount.currency, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.Impact.ApprovedAmount.currency, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.Impact.DeclinedAmount.currency, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.Impact.ApprovedAmount.currency, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.Impact.DeclinedAmount.currency, V2.Billing.ServiceAction.CreditGrant.Amount.Monetary.currency, V2.Billing.ServiceAction.CreditGrantPerTenant.Amount.Monetary.currency, V2.Core.Account.Identity.BusinessDetail.AnnualRevenue.Amount.currency, V2.Core.Account.Identity.BusinessDetail.MonthlyEstimatedRevenue.Amount.currency, V2.FinancialAddressGeneratedMicrodeposits.Amount.currency, V2.MoneyManagement.Adjustment.Amount.currency, V2.MoneyManagement.CurrencyConversion.From.Amount.currency, V2.MoneyManagement.CurrencyConversion.To.Amount.currency, V2.MoneyManagement.FinancialAccount.Balance.Available.currency, V2.MoneyManagement.FinancialAccount.Balance.InboundPending.currency, V2.MoneyManagement.FinancialAccount.Balance.OutboundPending.currency, V2.MoneyManagement.FinancialAccount.Payment.StartingBalance.Available.currency, V2.MoneyManagement.InboundTransfer.Amount.currency, V2.MoneyManagement.InboundTransfer.From.Debited.currency, V2.MoneyManagement.InboundTransfer.To.Credited.currency, V2.MoneyManagement.OutboundPayment.Amount.currency, V2.MoneyManagement.OutboundPayment.From.Debited.currency, V2.MoneyManagement.OutboundPayment.To.Credited.currency, V2.MoneyManagement.OutboundPaymentQuote.Amount.currency, V2.MoneyManagement.OutboundPaymentQuote.EstimatedFee.Amount.currency, V2.MoneyManagement.OutboundPaymentQuote.From.Debited.currency, V2.MoneyManagement.OutboundPaymentQuote.To.Credited.currency, V2.MoneyManagement.OutboundTransfer.Amount.currency, V2.MoneyManagement.OutboundTransfer.From.Debited.currency, V2.MoneyManagement.OutboundTransfer.To.Credited.currency, V2.MoneyManagement.ReceivedCredit.Amount.currency, V2.MoneyManagement.ReceivedCredit.ExternalAmount.currency, V2.MoneyManagement.ReceivedDebit.Amount.currency, V2.MoneyManagement.ReceivedDebit.CardSpend.Authorization.Amount.currency, V2.MoneyManagement.ReceivedDebit.CardSpend.CardTransaction.Amount.currency, V2.MoneyManagement.ReceivedDebit.ExternalAmount.currency, V2.MoneyManagement.Transaction.Amount.currency, V2.MoneyManagement.Transaction.BalanceImpact.Available.currency, V2.MoneyManagement.Transaction.BalanceImpact.InboundPending.currency, V2.MoneyManagement.Transaction.BalanceImpact.OutboundPending.currency, V2.MoneyManagement.TransactionEntry.BalanceImpact.Available.currency, V2.MoneyManagement.TransactionEntry.BalanceImpact.InboundPending.currency, V2.MoneyManagement.TransactionEntry.BalanceImpact.OutboundPending.currency, V2.Payments.OffSessionPayment.AmountCapturable.currency, V2.Payments.OffSessionPayment.AmountRequested.currency, V2.Payments.SettlementAllocationIntent.Amount.currency, V2.Payments.SettlementAllocationIntentSplit.Amount.currency, v2.FinancialAddressCreditSimulationCreditParamsAmount.currency, v2.billing.ServiceActionCreateParamsCreditGrantAmountMonetary.currency, v2.billing.ServiceActionCreateParamsCreditGrantPerTenantAmountMonetary.currency, v2.core.AccountCreateParamsIdentityBusinessDetailAnnualRevenueAmount.currency, v2.core.AccountCreateParamsIdentityBusinessDetailMonthlyEstimatedRevenueAmount.currency, v2.core.AccountModifyParamsIdentityBusinessDetailAnnualRevenueAmount.currency, v2.core.AccountModifyParamsIdentityBusinessDetailMonthlyEstimatedRevenueAmount.currency, v2.core.AccountTokenCreateParamsIdentityBusinessDetailAnnualRevenueAmount.currency, v2.core.AccountTokenCreateParamsIdentityBusinessDetailMonthlyEstimatedRevenueAmount.currency, v2.money_management.CurrencyConversionCreateParamsFromAmount.currency, v2.money_management.CurrencyConversionCreateParamsToAmount.currency, v2.money_management.InboundTransferCreateParamsAmount.currency, `v2.money_management.OutboundPaymentCreatePa...
Read more

v14.4.0a2

04 Feb 17:26

Choose a tag to compare

v14.4.0a2 Pre-release
Pre-release
  • #1728 Update generated code for private-preview
    • Add support for new resource v2.core.ConnectionSession
    • Add support for create and retrieve methods on resource v2.core.ConnectionSession
    • Add support for list method on resources v2.payments.SettlementAllocationIntentSplit and v2.payments.SettlementAllocationIntent
    • Add support for agentic_commerce_settings on AccountSessionCreateParamsComponent
    • Add support for terminal_hardware_orders and terminal_hardware_shop on AccountSession.Component and AccountSessionCreateParamsComponent
    • Add support for network_cost_passthrough_report on AccountSession.Component
    • Add support for new values ae_bank_account, ag_bank_account, bh_bank_account, gm_bank_account, hk_bank_account, kh_bank_account, lc_bank_account, mc_bank_account, mg_bank_account, my_bank_account, qa_bank_account, rw_bank_account, th_bank_account, tt_bank_account, and vn_bank_account on enums V2.Account.Configuration.RecipientDatum.DefaultOutboundDestination.type and V2.Core.Account.Configuration.Recipient.DefaultOutboundDestination.type
    • Add support for cadence_data on V2.Billing.Intent and v2.billing.IntentCreateParams
    • Add support for cancellation_details on V2.Billing.IntentAction.Deactivate, V2.Billing.PricingPlanSubscription, and v2.billing.IntentCreateParamsActionDeactivate
    • Add support for contact_phone on V2.Core.Account, v2.core.AccountCreateParams, v2.core.AccountModifyParams, and v2.core.AccountTokenCreateParams
    • Add support for registration_date on V2.Core.Account.Identity.BusinessDetail, v2.core.AccountCreateParamsIdentityBusinessDetail, v2.core.AccountModifyParamsIdentityBusinessDetail, and v2.core.AccountTokenCreateParamsIdentityBusinessDetail
    • Add support for new value gb_vat on enums V2.Core.Account.Identity.BusinessDetail.IdNumber.type, v2.core.AccountCreateParamsIdentityBusinessDetailIdNumber.type, v2.core.AccountModifyParamsIdentityBusinessDetailIdNumber.type, and v2.core.AccountTokenCreateParamsIdentityBusinessDetailIdNumber.type
    • Add support for reference on V2.MoneyManagement.Adjustment
    • Add support for accrued_fees on V2.MoneyManagement.FinancialAccount
    • Add support for starting_balance on V2.MoneyManagement.FinancialAccount.Payment
    • Add support for new value accrued_fees on enum V2.MoneyManagement.FinancialAccount.type
    • Add support for account_holder_address and account_holder_name on V2.MoneyManagement.FinancialAddress.Credential.UsBankAccount
    • Add support for fingerprint on V2.MoneyManagement.PayoutMethod.Card
    • Add support for card_spend on V2.MoneyManagement.ReceivedCredit and V2.MoneyManagement.ReceivedDebit
    • Add support for new value card_spend on enum V2.MoneyManagement.ReceivedCredit.type
    • Add support for new value card_spend on enum V2.MoneyManagement.ReceivedDebit.type
    • Add support for new values advance, anticipation_repayment, balance_transfer, charge_failure, charge, climate_order_purchase, climate_order_refund, connect_collection_transfer, connect_reserved_funds, contribution, dispute_reversal, financing_paydown_reversal, financing_paydown, inbound_transfer_reversal, issuing_dispute_fraud_liability_debit, issuing_dispute_provisional_credit_reversal, issuing_dispute_provisional_credit, issuing_dispute, minimum_balance_hold, network_cost, obligation, outbound_payment_reversal, outbound_transfer_reversal, partial_capture_reversal, payment_network_reserved_funds, platform_earning_refund, platform_earning, platform_fee, received_credit_reversal, received_debit_reversal, refund_failure, risk_reserved_funds, stripe_balance_payment_debit_reversal, stripe_balance_payment_debit, stripe_fee_tax, transfer_reversal, and unreconciled_customer_funds on enums V2.MoneyManagement.Transaction.category and V2.MoneyManagement.TransactionEntry.TransactionDetail.category
    • Add support for application_fee_refund, application_fee, charge, dispute, payout, refund, reserve_hold, reserve_release, topup, transfer_reversal, and transfer on V2.MoneyManagement.Transaction.Flow and V2.MoneyManagement.TransactionEntry.TransactionDetail.Flow
    • Add support for new values application_fee_refund, application_fee, charge, dispute, payout, refund, reserve_hold, reserve_release, topup, transfer_reversal, and transfer on enums V2.MoneyManagement.Transaction.Flow.type and V2.MoneyManagement.TransactionEntry.TransactionDetail.Flow.type
    • Change V2.Payments.SettlementAllocationIntentSplit.flow to be optional
    • Add support for new value accrued_fees on enum v2.money_management.FinancialAccountListParams.types
    • Change v2.billing.RateCardRateCreateParams.metered_item to be required
    • Add support for error codes blocked_payout_method and unsupported_payout_method on BlockedByStripeError
    • Add support for error code invalid_payout_method_data on InvalidPayoutMethodError
    • Add support for error code limit_payout_method on QuotaExceededError

See the changelog for more details.

v14.4.0b1

28 Jan 21:21

Choose a tag to compare

v14.4.0b1 Pre-release
Pre-release

This release changes the pinned API version to 2026-01-28.preview.

  • #1719 Update generated code for beta
    • Add support for new resource financial_connections.Authorization
    • Add support for retrieve method on resource financial_connections.Authorization
    • Add support for detach_payment method on resource Invoice
    • Remove support for cancel, list_line_items, and reopen methods on resource Order
    • Remove support for attach_cadence method on resource Subscription
    • Add support for additional_files and site on Account.Setting.PaypayPayment, AccountCreateParamsSettingPaypayPayment, and AccountModifyParamsSettingPaypayPayment
    • Remove support for capital on Account.Setting
    • Change type of Charge.PaymentMethodDetail.StripeBalance.source_type, ConfirmationToken.PaymentMethodPreview.StripeBalance.source_type, PaymentAttemptRecord.PaymentMethodDetail.StripeBalance.source_type, PaymentMethod.StripeBalance.source_type, and PaymentRecord.PaymentMethodDetail.StripeBalance.source_type from enum('bank_account'|'card'|'fpx') to nullable(enum('bank_account'|'card'|'fpx'))
    • Add support for new value pl_nip on enums Checkout.Session.CollectedInformation.TaxId.type, Order.TaxDetail.TaxId.type, and QuotePreviewInvoice.CustomerTaxId.type
    • Add support for new value capital.financing_summary.line_of_credit_update on enum Event.type
    • Add support for authorization and status_details on FinancialConnections.Account
    • Add support for relink_options on FinancialConnections.Session and financial_connections.SessionCreateParams
    • Change financial_connections.SessionCreateParams.account_holder to be optional
    • Add support for relink_result on FinancialConnections.Session
    • Remove support for billing_cadence on InvoiceCreatePreviewParams, SubscriptionCreateParams, SubscriptionModifyParams, and Subscription
    • Remove support for billing_cadence_details on Invoice.Parent and QuotePreviewInvoice.Parent
    • Remove support for value billing_cadence_details from enums Invoice.Parent.type and QuotePreviewInvoice.Parent.type
    • Add support for new value pl_nip on enums OrderCreateParamsTaxDetailTaxId.type and OrderModifyParamsTaxDetailTaxId.type
    • Add support for car_rental_data, flight_data, and lodging_data on PaymentIntent.PaymentDetail
    • Change QuotePreviewInvoice.PaymentSetting.PaymentMethodOption.payto to be required
    • Add support for new value capital.financing_summary.line_of_credit_update on enums WebhookEndpointCreateParams.enabled_events and WebhookEndpointModifyParams.enabled_events
    • Add support for new values ae_bank_account, ag_bank_account, bh_bank_account, gm_bank_account, hk_bank_account, kh_bank_account, lc_bank_account, mc_bank_account, mg_bank_account, my_bank_account, qa_bank_account, rw_bank_account, th_bank_account, tt_bank_account, and vn_bank_account on enum V2.Core.Account.Configuration.Recipient.DefaultOutboundDestination.type
    • Add support for alternative_reference on V2.Core.Vault.GbBankAccount, V2.Core.Vault.UsBankAccount, and V2.MoneyManagement.PayoutMethod
    • Add support for account_holder_address and account_holder_name on V2.MoneyManagement.FinancialAddress.Credential.UsBankAccount
    • Add support for fingerprint on V2.MoneyManagement.PayoutMethod.Card
    • Add support for snapshot event invoice_payment.detached with resource InvoicePayment
    • Add support for error code request_blocked on QuotePreviewInvoice.LastFinalizationError
    • Add support for error codes blocked_payout_method and unsupported_payout_method on BlockedByStripeError
    • Add support for error code invalid_payout_method_data on InvalidPayoutMethodError
    • Add support for error code limit_payout_method on QuotaExceededError
  • #1701 Add EventNotificationHandler example

See the changelog for more details.

v14.4.0a1

28 Jan 21:24

Choose a tag to compare

v14.4.0a1 Pre-release
Pre-release

This release changes the pinned API version to 2026-01-28.preview.

  • #1726 Update generated code for private-preview
    • Add support for new resources FrMealVouchersOnboarding, reserve.Hold, reserve.Plan, and reserve.Release
    • Add support for create, list, modify, and retrieve methods on resource FrMealVouchersOnboarding
    • Add support for list and retrieve methods on resources reserve.Hold and reserve.Release
    • Add support for retrieve method on resource reserve.Plan
    • Add support for pause method on resource Subscription
    • Add support for service_period_details on Discount
    • Add support for agentic_commerce_settings on AccountSession.Component
    • Add support for new value risk_reserved on enum BalanceTransaction.balance_type
    • Add support for new value service_period on enums Coupon.duration, CouponCreateParams.duration, checkout.SessionCreateParamsDiscountCouponDatum.duration, and checkout.SessionModifyParamsDiscountCouponDatum.duration
    • Add support for service_period on CouponCreateParams and Coupon
    • Change type of InvoiceItem.Pricing.PriceDetail.price and InvoiceLineItem.Pricing.PriceDetail.price from string to expandable($Price)
    • Add support for settings on InvoiceCreatePreviewParamsDiscount, InvoiceCreatePreviewParamsScheduleDetailAmendmentDiscountActionAdd, InvoiceCreatePreviewParamsScheduleDetailAmendmentDiscountActionSet, InvoiceCreatePreviewParamsScheduleDetailAmendmentItemActionAddDiscount, InvoiceCreatePreviewParamsScheduleDetailAmendmentItemActionSetDiscount, InvoiceCreatePreviewParamsScheduleDetailPhaseDiscount, InvoiceCreatePreviewParamsScheduleDetailPhaseItemDiscount, InvoiceCreatePreviewParamsSubscriptionDetailItemDiscount, QuoteCreateParamsLineActionAddDiscount, QuoteCreateParamsLineActionAddItemDiscount, QuoteCreateParamsLineActionSetDiscount, QuoteCreateParamsLineActionSetItemDiscount, QuoteModifyParamsLineActionAddDiscount, QuoteModifyParamsLineActionAddItemDiscount, QuoteModifyParamsLineActionSetDiscount, QuoteModifyParamsLineActionSetItemDiscount, SubscriptionCreateParamsDiscount, SubscriptionCreateParamsItemDiscount, SubscriptionItemCreateParamsDiscount, SubscriptionItemModifyParamsDiscount, SubscriptionModifyParamsDiscount, SubscriptionModifyParamsItemDiscount, SubscriptionScheduleAmendParamsAmendmentDiscountActionAdd, SubscriptionScheduleAmendParamsAmendmentDiscountActionSet, SubscriptionScheduleAmendParamsAmendmentItemActionAddDiscount, SubscriptionScheduleAmendParamsAmendmentItemActionSetDiscount, SubscriptionScheduleCreateParamsPhaseDiscount, SubscriptionScheduleCreateParamsPhaseItemDiscount, SubscriptionScheduleModifyParamsPhaseDiscount, and SubscriptionScheduleModifyParamsPhaseItemDiscount
    • Add support for subtotal on InvoiceLineItem
    • Add support for billing_cadence on SubscriptionListParams

See the changelog for more details.

v14.3.0

28 Jan 21:16

Choose a tag to compare

This release changes the pinned API version to 2026-01-28.clover.

  • #1725 Update generated code
    • Add support for new resource radar.PaymentEvaluation
    • Add support for create method on resource radar.PaymentEvaluation
    • Add support for adjustable_quantity on LineItem
    • Add support for new value risk_reserved on enum BalanceTransaction.balance_type
    • Add support for new values reserve_hold and reserve_release on enum BalanceTransaction.type
    • Add support for new values 2.3.0 and 2.3.1 on enums Charge.PaymentMethodDetail.Card.ThreeDSecure.version, PaymentIntentConfirmParamsPaymentMethodOptionCardThreeDSecure.version, PaymentIntentCreateParamsPaymentMethodOptionCardThreeDSecure.version, PaymentIntentModifyParamsPaymentMethodOptionCardThreeDSecure.version, SetupAttempt.PaymentMethodDetail.Card.ThreeDSecure.version, SetupIntentConfirmParamsPaymentMethodOptionCardThreeDSecure.version, SetupIntentCreateParamsPaymentMethodOptionCardThreeDSecure.version, and SetupIntentModifyParamsPaymentMethodOptionCardThreeDSecure.version
    • Add support for new value adyen on enums Charge.PaymentMethodDetail.Ideal.bank, ConfirmationToken.PaymentMethodPreview.Ideal.bank, ConfirmationTokenCreateParamsPaymentMethodDatumIdeal.bank, PaymentAttemptRecord.PaymentMethodDetail.Ideal.bank, PaymentIntentConfirmParamsPaymentMethodDatumIdeal.bank, PaymentIntentCreateParamsPaymentMethodDatumIdeal.bank, PaymentIntentModifyParamsPaymentMethodDatumIdeal.bank, PaymentMethod.Ideal.bank, PaymentMethodCreateParamsIdeal.bank, PaymentRecord.PaymentMethodDetail.Ideal.bank, SetupAttempt.PaymentMethodDetail.Ideal.bank, SetupIntentConfirmParamsPaymentMethodDatumIdeal.bank, SetupIntentCreateParamsPaymentMethodDatumIdeal.bank, and SetupIntentModifyParamsPaymentMethodDatumIdeal.bank
    • Add support for new value ADYBNL2A on enums Charge.PaymentMethodDetail.Ideal.bic, ConfirmationToken.PaymentMethodPreview.Ideal.bic, PaymentAttemptRecord.PaymentMethodDetail.Ideal.bic, PaymentMethod.Ideal.bic, PaymentRecord.PaymentMethodDetail.Ideal.bic, and SetupAttempt.PaymentMethodDetail.Ideal.bic
    • Add support for new value pl_nip on enums Checkout.Session.CustomerDetail.TaxId.type, Invoice.CustomerTaxId.type, Tax.Calculation.CustomerDetail.TaxId.type, Tax.Transaction.CustomerDetail.TaxId.type, and TaxId.type
    • Add support for new value pl_nip on enums CustomerCreateParamsTaxIdDatum.type, CustomerCreateTaxIdParams.type, InvoiceCreatePreviewParamsCustomerDetailTaxId.type, TaxIdCreateParams.type, and tax.CalculationCreateParamsCustomerDetailTaxId.type
    • Change Invoice.PaymentSetting.PaymentMethodOption.payto and Subscription.PaymentSetting.PaymentMethodOption.payto to be required
    • Add support for enforce_arithmetic_validation on PaymentIntentCaptureParamsAmountDetail, PaymentIntentConfirmParamsAmountDetail, PaymentIntentCreateParamsAmountDetail, PaymentIntentIncrementAuthorizationParamsAmountDetail, and PaymentIntentModifyParamsAmountDetail
    • Add support for error on PaymentIntent.AmountDetail
    • Remove support for bgn on Terminal.Configuration.Tipping, terminal.ConfigurationCreateParamsTipping, and terminal.ConfigurationModifyParamsTipping
    • Add support for topup on Treasury.ReceivedDebit.LinkedFlow
    • Add support for contact_phone on V2.Core.Account, v2.core.AccountCreateParams, v2.core.AccountModifyParams, and v2.core.AccountTokenCreateParams
    • Add support for registration_date on V2.Core.Account.Identity.BusinessDetail, v2.core.AccountCreateParamsIdentityBusinessDetail, v2.core.AccountModifyParamsIdentityBusinessDetail, and v2.core.AccountTokenCreateParamsIdentityBusinessDetail
    • Add support for new value gb_vat on enums V2.Core.Account.Identity.BusinessDetail.IdNumber.type, v2.core.AccountCreateParamsIdentityBusinessDetailIdNumber.type, v2.core.AccountModifyParamsIdentityBusinessDetailIdNumber.type, and v2.core.AccountTokenCreateParamsIdentityBusinessDetailIdNumber.type
    • Add support for error code request_blocked on Invoice.LastFinalizationError, PaymentIntent.LastPaymentError, SetupAttempt.SetupError, SetupIntent.LastSetupError, and StripeError
  • #1722 Add documentation for undocumented API parameters

See the changelog for more details.

v14.3.0a1

21 Jan 18:55

Choose a tag to compare

v14.3.0a1 Pre-release
Pre-release
  • #1723 Update generated code for private-preview
    • Remove support for pause method on resource Subscription
    • Change type of Quote.SubscriptionDataOverride.phase_effective_at and Quote.SubscriptionDatum.phase_effective_at from enum('billing_period_start'|'phase_start') to nullable(enum('billing_period_start'|'phase_start'))

See the changelog for more details.

v14.2.0

16 Jan 21:28

Choose a tag to compare

  • #1720 Update generated code
    • Add support for event notifications V2CoreAccountClosedEvent, V2CoreAccountCreatedEvent, V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationCustomerUpdatedEvent, V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationMerchantUpdatedEvent, V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationRecipientUpdatedEvent, V2CoreAccountIncludingDefaultsUpdatedEvent, V2CoreAccountIncludingFutureRequirementsUpdatedEvent, V2CoreAccountIncludingIdentityUpdatedEvent, V2CoreAccountIncludingRequirementsUpdatedEvent, and V2CoreAccountUpdatedEvent with related object v2.core.Account
    • Add support for event notification V2CoreAccountLinkReturnedEvent
    • Add support for event notifications V2CoreAccountPersonCreatedEvent, V2CoreAccountPersonDeletedEvent, and V2CoreAccountPersonUpdatedEvent with related object v2.core.AccountPerson
  • #1687 Fix DeprecationWarning when encoding StripeObject metadata (fixes #1651)
  • #1703 Update ci to run on Python 3.14 as well

See the changelog for more details.

v14.2.0a3

14 Jan 19:45

Choose a tag to compare

v14.2.0a3 Pre-release
Pre-release
  • #1718 Update generated code for private-preview
    • Add support for risk_details on DelegatedCheckout.RequestedSession
    • Remove support for description, images, and name on DelegatedCheckout.RequestedSession.LineItemDetail
    • Add support for name on ProductCatalog.TrialOffer and product_catalog.TrialOfferCreateParams
    • Add support for login_failed and registration_failed on Radar.AccountEvaluation.Event and radar.AccountEvaluationModifyParams
    • Change type of radar.AccountEvaluationModifyParams.type from literal('registration_succeeded') to enum('login_failed'|'login_succeeded'|'registration_failed'|'registration_succeeded')

See the changelog for more details.

v14.2.0a2

07 Jan 20:22

Choose a tag to compare

v14.2.0a2 Pre-release
Pre-release
  • #1711 Update generated code for private-preview
    • Add support for tracking_details on V2.MoneyManagement.OutboundPayment
    • Add support for paper_check on V2.MoneyManagement.OutboundPayment.DeliveryOption and v2.money_management.OutboundPaymentCreateParamsDeliveryOption
    • Add support for event notification V2CoreAccountIncludingFutureRequirementsUpdatedEvent with related object v2.core.Account
    • Add support for error code account_rate_limit_exceeded on RateLimitError
  • #1698 Update generated code for private-preview
    • Add support for new resource tax.Location
    • Add support for create, list, and retrieve methods on resource tax.Location
    • Add support for pause method on resource Subscription
    • Add support for performance_location on InvoiceAddLinesParamsLinePriceDatumProductDatumTaxDetail, InvoiceLineItemModifyParamsPriceDatumProductDatumTaxDetail, InvoiceUpdateLinesParamsLinePriceDatumProductDatumTaxDetail, PaymentLinkCreateParamsLineItemPriceDatumProductDatumTaxDetail, ProductCreateParamsTaxDetail, ProductModifyParamsTaxDetail, Tax.CalculationLineItem, checkout.SessionCreateParamsLineItemPriceDatumProductDatumTaxDetail, checkout.SessionModifyParamsLineItemPriceDatumProductDatumTaxDetail, and tax.CalculationCreateParamsLineItem
    • Add support for new value performance on enums Tax.Calculation.ShippingCost.TaxBreakdown.sourcing, Tax.CalculationLineItem.TaxBreakdown.sourcing, and Tax.Transaction.ShippingCost.TaxBreakdown.sourcing
    • Add support for new values admissions_tax, attendance_tax, entertainment_tax, gross_receipts_tax, hospitality_tax, luxury_tax, resort_tax, and tourism_tax on enums Tax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetail.tax_type, Tax.Calculation.TaxBreakdown.TaxRateDetail.tax_type, Tax.CalculationLineItem.TaxBreakdown.TaxRateDetail.tax_type, and Tax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetail.tax_type
    • Change type of delegated_checkout.RequestedSessionModifyParams.metadata from map(string: string) to emptyable(map(string: string))
    • Change type of delegated_checkout.RequestedSessionModifyParams.payment_method_data from payment_method_data to emptyable(payment_method_data)
    • Change type of delegated_checkout.RequestedSessionModifyParams.shared_metadata from map(string: string) to emptyable(map(string: string))
    • Add support for subscription on Invoice.Parent.ScheduleDetail and QuotePreviewInvoice.Parent.ScheduleDetail
    • Change type of PaymentIntentConfirmParamsPaymentDetailBenefit.fr_meal_voucher, PaymentIntentCreateParamsPaymentDetailBenefit.fr_meal_voucher, PaymentIntentModifyParamsPaymentDetailBenefit.fr_meal_voucher, SetupIntentConfirmParamsSetupDetailBenefit.fr_meal_voucher, SetupIntentCreateParamsSetupDetailBenefit.fr_meal_voucher, and SetupIntentModifyParamsSetupDetailBenefit.fr_meal_voucher from payment_details_benefit_fr_meal_voucher to emptyable(payment_details_benefit_fr_meal_voucher)
    • Add support for tax_details on PlanCreateParamsProduct and PriceCreateParamsProductDatum
    • Add support for external_reference on Plan and Price
    • Add support for new value phase_start on enums Quote.SubscriptionDataOverride.phase_effective_at, Quote.SubscriptionDatum.phase_effective_at, QuoteCreateParamsSubscriptionDataOverride.phase_effective_at, QuoteCreateParamsSubscriptionDatum.phase_effective_at, QuoteModifyParamsSubscriptionDataOverride.phase_effective_at, and QuoteModifyParamsSubscriptionDatum.phase_effective_at
    • Remove support for value line_start from enums Quote.SubscriptionDataOverride.phase_effective_at, Quote.SubscriptionDatum.phase_effective_at, QuoteCreateParamsSubscriptionDataOverride.phase_effective_at, QuoteCreateParamsSubscriptionDatum.phase_effective_at, QuoteModifyParamsSubscriptionDataOverride.phase_effective_at, and QuoteModifyParamsSubscriptionDatum.phase_effective_at
    • Add support for new values admissions_tax, attendance_tax, entertainment_tax, gross_receipts_tax, hospitality_tax, luxury_tax, resort_tax, and tourism_tax on enums Tax.Registration.CountryOption.Me.type and tax.RegistrationCreateParamsCountryOptionMe.type
    • Add support for admissions_tax, attendance_tax, entertainment_tax, gross_receipts_tax, hospitality_tax, luxury_tax, resort_tax, and tourism_tax on Tax.Registration.CountryOption.Me
    • Add support for requirements on TaxCode

See the changelog for more details.

v14.2.0b1

16 Dec 19:55

Choose a tag to compare

v14.2.0b1 Pre-release
Pre-release

This release changes the pinned API version to 2025-12-15.preview.

  • #1653 Add EventNotificationHandler
  • #1680 Update generated code for beta
    • Add support for new resources reserve.Hold, reserve.Plan, and reserve.Release
    • Add support for list and retrieve methods on resources reserve.Hold and reserve.Release
    • Add support for retrieve method on resource reserve.Plan
    • Change Billing.CreditBalanceSummary.customer_account, Billing.CreditGrant.customer_account, BillingPortal.Session.customer_account, CashBalance.customer_account, Checkout.Session.customer_account, ConfirmationToken.PaymentMethodPreview.customer_account, CreditNote.customer_account, CustomerBalanceTransaction.customer_account, CustomerCashBalanceTransaction.customer_account, CustomerSession.customer_account, Discount.customer_account, Invoice.customer_account, InvoiceItem.customer_account, PaymentIntent.customer_account, PaymentMethod.customer_account, PromotionCode.customer_account, Quote.customer_account, QuotePreviewInvoice.customer_account, QuotePreviewSubscriptionSchedule.customer_account, SetupAttempt.customer_account, Subscription.customer_account, SubscriptionSchedule.customer_account, TaxId.Owner.customer_account, and TaxId.customer_account to be required
    • Change type of V2.FinancialAddressGeneratedMicrodeposits.amounts from amount to an object
    • Change type of PaymentIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.amount, PaymentIntentCreateParamsPaymentMethodOptionPaytoMandateOption.amount, PaymentIntentModifyParamsPaymentMethodOptionPaytoMandateOption.amount, SetupIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.amount, SetupIntentCreateParamsPaymentMethodOptionPaytoMandateOption.amount, SetupIntentModifyParamsPaymentMethodOptionPaytoMandateOption.amount, and checkout.SessionCreateParamsPaymentMethodOptionPaytoMandateOption.amount from longInteger to emptyable(longInteger)
    • Change type of PaymentIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.amount_type, PaymentIntentCreateParamsPaymentMethodOptionPaytoMandateOption.amount_type, PaymentIntentModifyParamsPaymentMethodOptionPaytoMandateOption.amount_type, SetupIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.amount_type, SetupIntentCreateParamsPaymentMethodOptionPaytoMandateOption.amount_type, SetupIntentModifyParamsPaymentMethodOptionPaytoMandateOption.amount_type, and checkout.SessionCreateParamsPaymentMethodOptionPaytoMandateOption.amount_type from enum('fixed'|'maximum') to emptyable(enum('fixed'|'maximum'))
    • Change type of PaymentIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.end_date, PaymentIntentCreateParamsPaymentMethodOptionPaytoMandateOption.end_date, PaymentIntentModifyParamsPaymentMethodOptionPaytoMandateOption.end_date, SetupIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.end_date, SetupIntentCreateParamsPaymentMethodOptionPaytoMandateOption.end_date, SetupIntentModifyParamsPaymentMethodOptionPaytoMandateOption.end_date, and checkout.SessionCreateParamsPaymentMethodOptionPaytoMandateOption.end_date from string to emptyable(string)
    • Change type of PaymentIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.payment_schedule, PaymentIntentCreateParamsPaymentMethodOptionPaytoMandateOption.payment_schedule, PaymentIntentModifyParamsPaymentMethodOptionPaytoMandateOption.payment_schedule, SetupIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.payment_schedule, SetupIntentCreateParamsPaymentMethodOptionPaytoMandateOption.payment_schedule, SetupIntentModifyParamsPaymentMethodOptionPaytoMandateOption.payment_schedule, and checkout.SessionCreateParamsPaymentMethodOptionPaytoMandateOption.payment_schedule from enum to emptyable(enum)
    • Change type of PaymentIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.payments_per_period, PaymentIntentCreateParamsPaymentMethodOptionPaytoMandateOption.payments_per_period, PaymentIntentModifyParamsPaymentMethodOptionPaytoMandateOption.payments_per_period, SetupIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.payments_per_period, SetupIntentCreateParamsPaymentMethodOptionPaytoMandateOption.payments_per_period, SetupIntentModifyParamsPaymentMethodOptionPaytoMandateOption.payments_per_period, and checkout.SessionCreateParamsPaymentMethodOptionPaytoMandateOption.payments_per_period from longInteger to emptyable(longInteger)
    • Change type of PaymentIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.purpose, PaymentIntentCreateParamsPaymentMethodOptionPaytoMandateOption.purpose, PaymentIntentModifyParamsPaymentMethodOptionPaytoMandateOption.purpose, SetupIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.purpose, SetupIntentCreateParamsPaymentMethodOptionPaytoMandateOption.purpose, SetupIntentModifyParamsPaymentMethodOptionPaytoMandateOption.purpose, and checkout.SessionCreateParamsPaymentMethodOptionPaytoMandateOption.purpose from enum to emptyable(enum)
    • Change type of SetupIntentConfirmParamsPaymentMethodOptionPaytoMandateOption.start_date, SetupIntentCreateParamsPaymentMethodOptionPaytoMandateOption.start_date, SetupIntentModifyParamsPaymentMethodOptionPaytoMandateOption.start_date, and checkout.SessionCreateParamsPaymentMethodOptionPaytoMandateOption.start_date from string to emptyable(string)
    • Change Identity.VerificationSession.related_customer_account to be required
    • Add support for async_workflows on PaymentIntent
    • Add support for payto on QuotePreviewInvoice.PaymentSetting.PaymentMethodOption
    • Add support for new value payto on enum QuotePreviewInvoice.PaymentSetting.payment_method_types
    • Remove support for requested on V2.Core.Account.Configuration.Customer.Capability.AutomaticIndirectTax, V2.Core.Account.Configuration.Merchant.Capability.AchDebitPayment, V2.Core.Account.Configuration.Merchant.Capability.AcssDebitPayment, V2.Core.Account.Configuration.Merchant.Capability.AffirmPayment, V2.Core.Account.Configuration.Merchant.Capability.AfterpayClearpayPayment, V2.Core.Account.Configuration.Merchant.Capability.AlmaPayment, V2.Core.Account.Configuration.Merchant.Capability.AmazonPayPayment, V2.Core.Account.Configuration.Merchant.Capability.AuBecsDebitPayment, V2.Core.Account.Configuration.Merchant.Capability.BacsDebitPayment, V2.Core.Account.Configuration.Merchant.Capability.BancontactPayment, V2.Core.Account.Configuration.Merchant.Capability.BlikPayment, V2.Core.Account.Configuration.Merchant.Capability.BoletoPayment, V2.Core.Account.Configuration.Merchant.Capability.CardPayment, V2.Core.Account.Configuration.Merchant.Capability.CartesBancairesPayment, V2.Core.Account.Configuration.Merchant.Capability.CashappPayment, V2.Core.Account.Configuration.Merchant.Capability.EpsPayment, V2.Core.Account.Configuration.Merchant.Capability.FpxPayment, V2.Core.Account.Configuration.Merchant.Capability.GbBankTransferPayment, V2.Core.Account.Configuration.Merchant.Capability.GrabpayPayment, V2.Core.Account.Configuration.Merchant.Capability.IdealPayment, V2.Core.Account.Configuration.Merchant.Capability.JcbPayment, V2.Core.Account.Configuration.Merchant.Capability.JpBankTransferPayment, V2.Core.Account.Configuration.Merchant.Capability.KakaoPayPayment, V2.Core.Account.Configuration.Merchant.Capability.KlarnaPayment, V2.Core.Account.Configuration.Merchant.Capability.KonbiniPayment, V2.Core.Account.Configuration.Merchant.Capability.KrCardPayment, V2.Core.Account.Configuration.Merchant.Capability.LinkPayment, V2.Core.Account.Configuration.Merchant.Capability.MobilepayPayment, V2.Core.Account.Configuration.Merchant.Capability.MultibancoPayment, V2.Core.Account.Configuration.Merchant.Capability.MxBankTransferPayment, V2.Core.Account.Configuration.Merchant.Capability.NaverPayPayment, V2.Core.Account.Configuration.Merchant.Capability.OxxoPayment, V2.Core.Account.Configuration.Merchant.Capability.P24Payment, V2.Core.Account.Configuration.Merchant.Capability.PayByBankPayment, V2.Core.Account.Configuration.Merchant.Capability.PaycoPayment, V2.Core.Account.Configuration.Merchant.Capability.PaynowPayment, V2.Core.Account.Configuration.Merchant.Capability.PromptpayPayment, V2.Core.Account.Configuration.Merchant.Capability.RevolutPayPayment, V2.Core.Account.Configuration.Merchant.Capability.SamsungPayPayment, V2.Core.Account.Configuration.Merchant.Capability.SepaBankTransferPayment, V2.Core.Account.Configuration.Merchant.Capability.SepaDebitPayment, V2.Core.Account.Configuration.Merchant.Capability.StripeBalance.Payout, V2.Core.Account.Configuration.Merchant.Capability.SwishPayment, V2.Core.Account.Configuration.Merchant.Capability.TwintPayment, V2.Core.Account.Configuration.Merchant.Capability.UsBankTransferPayment, V2.Core.Account.Configuration.Merchant.Capability.ZipPayment, V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Local, V2.Core.Account.Configuration.Recipient.Capability.BankAccount.Wire, V2.Core.Account.Configuration.Recipient.Capability.Card, V2.Core.Account.Configuration.Recipient.Capability.StripeBalance.Payout, V2.Core.Account.Configuration.Recipient.Capability.StripeBalance.StripeTransfer, V2.Core.Account.Configuration.Storer.Capability.FinancialAddress.BankAccount, V2.Core.Account.Configuration.Storer.Capability.HoldsCurrency.Eur, V2.Core.Account.Configuration.Storer.Capability.HoldsCurrency.Gbp, V2.Core.Account.Configuration.Storer.Capability.HoldsCurrency.Usd, V2.Core.Account.Configuration.Storer.Capability.InboundTransfer.BankAccount, V2.Core.Account.Configuration.Storer.Capability.OutboundPayment.BankAccount, `V2.Core.Account.Configuration.Storer.Capability.OutboundPayment.Card...
Read more