github stripe/stripe-python v14.0.0

latest releases: v14.1.0a1, v14.1.0b1
13 hours ago

This release changes the pinned API version to 2025-11-17.clover.

  • #1673 Update generated code
    • ⚠️ Remove support for gt, gte, lt, and lte on v2.core.EventListParams in favor of created.
  • #1669 Update v2 array parameter serialization to use indexed format
    • Retrieve and List calls for /v2 endpoints now use indexed format (e.g., ?include[0]=foo&include[1]=bar) instead of repeated parameter format (e.g., ?include=foo&include=bar) when communicating with the Stripe API. This may break any unit tests that expect the latter behavior when setting up a mock server. Instead, they should now expect the former.
  • #1667 Update generated code
    • Add support for new resources tax.Association and terminal.OnboardingLink
    • Add support for find method on resource tax.Association
    • Add support for create method on resource terminal.OnboardingLink
    • Add support for payment_method_configuration on BillingPortal.Configuration.Feature.PaymentMethodUpdate
    • Add support for transaction_id on Charge.PaymentMethodDetail.Ideal, PaymentAttemptRecord.PaymentMethodDetail.Ideal, and PaymentRecord.PaymentMethodDetail.Ideal
    • Add support for new value finom 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 FNOMNL22 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 tokenized_account_number_deactivated on enums ConfirmationToken.PaymentMethodPreview.UsBankAccount.StatusDetail.Blocked.reason and PaymentMethod.UsBankAccount.StatusDetail.Blocked.reason
    • Add support for created on CustomerListCustomerBalanceTransactionParams and InvoicePaymentListParams
    • Add support for new values financial_connections.account.account_numbers_updated and financial_connections.account.upcoming_account_number_expiry on enum Event.type
    • Add support for account_numbers on FinancialConnections.Account
    • Change type of FinancialConnections.Session.client_secret from string to nullable(string)
    • Add support for fraud_risk on issuing.AuthorizationCreateParamsRiskAssessment
    • Add support for latest_fraud_warning on Issuing.Card
    • Add support for hooks on PaymentIntentCaptureParams, PaymentIntentConfirmParams, PaymentIntentCreateParams, PaymentIntentIncrementAuthorizationParams, PaymentIntentModifyParams, and PaymentIntent
    • Add support for mb_way and twint on Refund.DestinationDetail
    • Add support for new values financial_connections.account.account_numbers_updated and financial_connections.account.upcoming_account_number_expiry on enums WebhookEndpointCreateParams.enabled_events and WebhookEndpointModifyParams.enabled_events
    • Add support for snapshot events financial_connections.account.account_numbers_updated and financial_connections.account.upcoming_account_number_expiry with resource financial_connections.Account

See the changelog for more details.

Don't miss a new stripe-python release

NewReleases is sending notifications on new releases.