Skip to content

Releases: stripe/stripe-python

v15.2.0b1

24 Apr 00:22

Choose a tag to compare

v15.2.0b1 Pre-release
Pre-release

This release changes the pinned API version to 2026-04-22.private.

  • #1777 Update generated code for beta
    • Add support for new resources shared_payment.GrantedToken and shared_payment.IssuedToken
    • Add support for retrieve method on resource shared_payment.GrantedToken
    • Add support for create and revoke test helper methods on resource shared_payment.GrantedToken
    • Add support for create, retrieve, and revoke methods on resource shared_payment.IssuedToken
    • Add support for blik on Invoice.PaymentSetting.PaymentMethodOption, InvoiceCreateParamsPaymentSettingPaymentMethodOption, InvoiceModifyParamsPaymentSettingPaymentMethodOption, QuotePreviewInvoice.PaymentSetting.PaymentMethodOption, Subscription.PaymentSetting.PaymentMethodOption, SubscriptionCreateParamsPaymentSettingPaymentMethodOption, SubscriptionModifyParamsPaymentSettingPaymentMethodOption, and checkout.SessionCreateParamsPaymentMethodOption
    • ⚠️ Add support for new values fo_vat, gi_tin, it_cf, and py_ruc on enums Checkout.Session.CollectedInformation.TaxId.type, Order.TaxDetail.TaxId.type, and QuotePreviewInvoice.CustomerTaxId.type
    • Change Checkout.Session.managed_payments, PaymentIntent.managed_payments, PaymentLink.managed_payments, and Subscription.managed_payments to be required
    • Add support for shared_payment_granted_token on ConfirmationTokenCreateParamsPaymentMethodDatum, PaymentIntentConfirmParamsPaymentMethodDatum, PaymentIntentCreateParamsPaymentMethodDatum, PaymentIntentModifyParamsPaymentMethodDatum, PaymentMethod, SetupIntentConfirmParamsPaymentMethodDatum, SetupIntentCreateParamsPaymentMethodDatum, and SetupIntentModifyParamsPaymentMethodDatum
    • Change Invoice.PaymentSetting.PaymentMethodOption.pix, QuotePreviewInvoice.PaymentSetting.PaymentMethodOption.pix, and Subscription.PaymentSetting.PaymentMethodOption.pix to be required
    • Change Invoice.PaymentSetting.PaymentMethodOption.upi, QuotePreviewInvoice.PaymentSetting.PaymentMethodOption.upi, and Subscription.PaymentSetting.PaymentMethodOption.upi to be required
    • Add support for new values fo_vat, gi_tin, it_cf, and py_ruc on enums OrderCreateParamsTaxDetailTaxId.type and OrderModifyParamsTaxDetailTaxId.type
    • Add support for validation_errors on Privacy.RedactionJob
    • Add support for tax_details on Product
    • ⚠️ Add support for new value blik on enum QuotePreviewInvoice.PaymentSetting.payment_method_types
    • ⚠️ Change type of QuotePreviewInvoice.TotalTax.TaxRateDetail.tax_rate from string to expandable($TaxRate)
    • ⚠️ Change type of Radar.PaymentEvaluation.ClientDeviceMetadataDetail.radar_session from string to nullable(string)
    • Change SetupIntent.NextAction.PixDisplayQrCode.data to be required
    • Change SetupIntent.NextAction.PixDisplayQrCode.expires_at to be required
    • Change SetupIntent.NextAction.PixDisplayQrCode.hosted_instructions_url to be required
    • Change SetupIntent.NextAction.PixDisplayQrCode.image_url_png to be required
    • Change SetupIntent.NextAction.PixDisplayQrCode.image_url_svg to be required
    • Add support for admissions_tax, attendance_tax, entertainment_tax, gross_receipts_tax, hospitality_tax, luxury_tax, resort_tax, and tourism_tax on tax.RegistrationCreateParamsCountryOptionMe
    • Add support for purpose on Treasury.OutboundPayment and treasury.OutboundPaymentCreateParams
    • Add support for error codes action_blocked and approval_required on QuotePreviewInvoice.LastFinalizationError

See the changelog for more details.

v15.2.0a1

24 Apr 04:49

Choose a tag to compare

v15.2.0a1 Pre-release
Pre-release

This release changes the pinned API version to 2026-04-22.private.

  • #1795 Update generated code for private-preview
    • Add support for new resources v2.commerce.ProductCatalogImport, v2.core.ApprovalRequest, v2.extend.WorkflowRun, v2.extend.Workflow, v2.iam.ActivityLog, v2.network.BusinessProfile, and v2.orchestrated_commerce.Agreement
    • ⚠️ Remove support for resources v2.core.WorkflowRun and v2.core.Workflow
    • Add support for confirm, create, list, retrieve, and terminate methods on resource v2.orchestrated_commerce.Agreement
    • Add support for me and retrieve methods on resource v2.network.BusinessProfile
    • Add support for list method on resource v2.iam.ActivityLog
    • Add support for list and retrieve methods on resource v2.extend.WorkflowRun
    • Add support for invoke, list, and retrieve methods on resource v2.extend.Workflow
    • Add support for cancel, execute, list, retrieve, and submit methods on resource v2.core.ApprovalRequest
    • Add support for create and retrieve methods on resource v2.commerce.ProductCatalogImport
    • ⚠️ Remove support for list and retrieve methods on resource v2.core.WorkflowRun
    • ⚠️ Remove support for invoke, list, and retrieve methods on resource v2.core.Workflow
    • Add support for renew_onboarding_link method on resource v2.core.ClaimableSandbox
    • ⚠️ Remove support for customer on SharedPayment.IssuedToken
    • Change type of SharedPayment.IssuedToken.payment_method from nullable(string) to string
    • Add support for bill_management and send_money on AccountSession.Component.Bill.Feature
    • Add support for gift_card on Charge.PaymentMethodDetail, PaymentAttemptRecord.PaymentMethodDetail, and PaymentRecord.PaymentMethodDetail
    • Add support for custom_payment_method_types on Checkout.Session and checkout.SessionCreateParams
    • Add support for payment_record on Checkout.Session
    • ⚠️ Remove support for shared_payment_granted_token on ConfirmationTokenCreateParamsPaymentMethodDatum, PaymentIntentConfirmParamsPaymentMethodDatum, PaymentIntentCreateParamsPaymentMethodDatum, PaymentIntentModifyParamsPaymentMethodDatum, PaymentIntent, PaymentMethod, SetupIntentConfirmParamsPaymentMethodDatum, SetupIntentCreateParamsPaymentMethodDatum, and SetupIntentModifyParamsPaymentMethodDatum
    • Add support for payment_method on ConfirmationToken.PaymentMethodPreview.SepaDebit.GeneratedFrom, PaymentMethod.SepaDebit.GeneratedFrom, and SharedPayment.GrantedToken.PaymentMethodDetail.SepaDebit.GeneratedFrom
    • ⚠️ Change type of DelegatedCheckout.RequestedSession.FulfillmentDetail.FulfillmentOption.type, DelegatedCheckout.RequestedSession.FulfillmentDetail.SelectedFulfillmentOption.type, DelegatedCheckout.RequestedSession.FulfillmentDetail.SelectedFulfillmentOptionOverride.type, delegated_checkout.RequestedSessionModifyParamsFulfillmentDetailSelectedFulfillmentOption.type, and delegated_checkout.RequestedSessionModifyParamsFulfillmentDetailSelectedFulfillmentOptionOverride.type from string to enum('digital'|'shipping')
    • Add support for return_url on delegated_checkout.RequestedSessionConfirmParams
    • Add support for buyer_consents on DelegatedCheckout.RequestedSession
    • Add support for crypto_transactions on Issuing.Authorization, Issuing.Dispute, and Issuing.Transaction
    • Add support for payment_facilitator_id and sub_merchant_id on Issuing.Authorization.MerchantDatum and Issuing.Transaction.MerchantDatum
    • Add support for identifiers on OrderCreateParamsLineItemProductDatum, OrderModifyParamsLineItemProductDatum, ProductCreateParams, ProductModifyParams, and Product
    • Add support for agent_details on PaymentIntent
    • Add support for external_reference on PriceCreateParams and PriceModifyParams
    • Add support for login_succeeded and registration_succeeded on Radar.AccountEvaluation.Event and radar.AccountEvaluationModifyParams
    • Add support for print_content on Terminal.Reader.Action
    • ⚠️ Add support for new value print_content on enum Terminal.Reader.Action.type
    • ⚠️ Add support for new values cn_bank_account and jp_bank_account on enum V2.Core.Account.Configuration.Recipient.DefaultOutboundDestination.type
    • ⚠️ Add support for new values bm_crn, bo_tin, bt_tpn, co_nit, ec_ruc, eg_tin, gh_tin, gy_tin, hn_rtn, jm_trn, jo_crn, ke_pin, ky_crn, lk_tin, mo_tin, mv_tin, ng_tin, pa_ruc, ph_tin, py_ruc, sl_tin, sv_nit, uy_ruc, vg_cn, and za_tin on enum V2.Core.Account.Identity.BusinessDetail.IdNumber.type
    • ⚠️ Add support for new values bm_pp, bo_ci, bt_cid, eg_tin, gh_pin, gy_tin, hn_rtn, jm_trn, jo_pin, ky_pp, lk_nic, mo_bir, mt_nic, mv_tin, pa_ruc, ph_tin, py_ruc, si_pin, sv_nit, and vg_pp on enums V2.Core.Account.Identity.Individual.IdNumber.type and V2.Core.AccountPerson.IdNumber.type
    • Add support for app_channel on V2.Core.ClaimableSandbox and v2.core.ClaimableSandboxCreateParams
    • Add support for onboarding_link_details and owner_details on V2.Core.ClaimableSandbox
    • ⚠️ Remove support for claim_url on V2.Core.ClaimableSandbox
    • ⚠️ Remove support for owner_account on V2.Core.ClaimableSandbox.SandboxDetail
    • ⚠️ Add support for new value live on enum V2.Core.ClaimableSandbox.status
    • Add support for snapshot_event on V2.Core.Event
    • ⚠️ Add support for new values futsu and toza on enums V2.Core.Vault.GbBankAccount.bank_account_type and V2.MoneyManagement.PayoutMethod.BankAccount.bank_account_type
    • ⚠️ Change V2.MoneyManagement.CurrencyConversion.financial_account to be optional
    • Add support for multiprocessor_settlement on V2.MoneyManagement.FinancialAccount
    • ⚠️ Add support for new value multiprocessor_settlement on enum V2.MoneyManagement.FinancialAccount.type
    • Add support for ca_bank_account on V2.MoneyManagement.FinancialAddress.Credential and V2.MoneyManagement.ReceivedCredit.BankTransfer
    • ⚠️ Add support for new value ca_bank_account on enum V2.MoneyManagement.FinancialAddress.Credential.type
    • ⚠️ Add support for new value tempo on enum V2.MoneyManagement.PayoutMethod.CryptoWallet.network
    • ⚠️ Add support for new value ca_bank_account on enum V2.MoneyManagement.ReceivedCredit.BankTransfer.origin_type
    • ⚠️ Remove support for value return from enums V2.MoneyManagement.Transaction.category and V2.MoneyManagement.TransactionEntry.TransactionDetail.category
    • Add support for amount_details and payment_details on V2.Payments.OffSessionPayment, v2.payments.OffSessionPaymentCaptureParams, and v2.payments.OffSessionPaymentCreateParams
    • Add support for description on V2.Payments.OffSessionPayment and v2.payments.OffSessionPaymentCreateParams
    • Add support for new value acss on enum v2.FinancialAddressCreditSimulationCreditParams.network
    • Add support for mcc on v2.payments.OffSessionPaymentCreateParamsPaymentMethodOptionCard
    • Change v2.payments.OffSessionPaymentCreateParamsPaymentMethodOptionCard.network_transaction_id to be optional
    • Add support for new values futsu and toza on enums v2.core.vault.GbBankAccountCreateParams.bank_account_type, v2.money_management.OutboundSetupIntentCreateParamsPayoutMethodDatumBankAccount.bank_account_type, and v2.money_management.OutboundSetupIntentModifyParamsPayoutMethodDatumBankAccount.bank_account_type
    • Add support for new value tempo on enum v2.money_management.OutboundSetupIntentCreateParamsPayoutMethodDatumCryptoWallet.network
    • Add support for new value credentials.ca_bank_account.account_number on enums v2.money_management.FinancialAddressListParams.include and v2.money_management.FinancialAddressRetrieveParams.include
    • Add support for new value ca_bank_account on enum v2.money_management.FinancialAddressCreateParams.type
    • Add support for new value multiprocessor_settlement on enum v2.money_management.FinancialAccountListParams.types
    • Add support for storage on v2.money_management.FinancialAccountModifyParams
    • Add support for fx_quote on v2.money_management.CurrencyConversionCreateParams
    • Change v2.money_management.CurrencyConversionCreateParams.financial_account to be optional
    • ⚠️ Add support for onboarding_link_details on v2.core.ClaimableSandboxCreateParams
    • Change type of v2.core.BatchJobCreateParamsEndpoint.http_method from literal('post') to enum('delete'|'post')
    • Add support for new values bm_crn, bo_tin, bt_tpn, co_nit, ec_ruc, eg_tin, gh_tin, gy_tin, hn_rtn, jm_trn, jo_crn, ke_pin, ky_crn, lk_tin, mo_tin, mv_tin, ng_tin, pa_ruc, ph_tin, py_ruc, sl_tin, sv_nit, uy_ruc, vg_cn, and za_tin on enums v2.core.AccountCreateParamsIdentityBusinessDetailIdNumber.type, v2.core.AccountModifyParamsIdentityBusinessDetailIdNumber.type, and v2.core.AccountTokenCreateParamsIdentityBusinessDetailIdNumber.type
    • Add support for new values bm_pp, bo_ci, bt_cid, eg_tin, gh_pin, gy_tin, hn_rtn, jm_trn, jo_pin, ky_pp, lk_nic, mo_bir, mt_nic, mv_tin, pa_ruc, ph_tin, py_ruc, si_pin, sv_nit, and vg_pp on enums v2.core.AccountCreateParamsIdentityIndividualIdNumber.type, v2.core.AccountModifyParamsIdentityIndividualIdNumber.type, v2.core.AccountPersonCreateParamsIdNumber.type, v2.core.AccountPersonModifyParamsIdNumber.type, v2.core.AccountPersonTokenCreateParamsIdNumber.type, and v2.core.AccountTokenCreateParamsIdentityIndividualIdNumber.type
    • ⚠️ Add support for new value meter_event_value_too_many_digits on enums EventsV1BillingMeterErrorReportTriggeredEvent.Reason.ErrorType.code and `EventsV1BillingMeterNoMeterFoundEvent.Reason.E...
Read more

v15.1.0

24 Apr 00:15

Choose a tag to compare

This release changes the pinned API version to 2026-04-22.dahlia.

  • #1793 Update generated code
    • Add support for balance_report and payout_reconciliation_report on AccountSession.Component and AccountSessionCreateParamsComponent
    • Add support for app_distribution and sunbit_payments on Account.Capability, AccountCreateParamsCapability, and AccountModifyParamsCapability
    • ⚠️ Add support for new values fee_credit_funding, inbound_transfer_reversal, and inbound_transfer on enum BalanceTransaction.type
    • Add support for sunbit on Charge.PaymentMethodDetail, ConfirmationToken.PaymentMethodPreview, ConfirmationTokenCreateParamsPaymentMethodDatum, PaymentAttemptRecord.PaymentMethodDetail, PaymentIntentConfirmParamsPaymentMethodDatum, PaymentIntentCreateParamsPaymentMethodDatum, PaymentIntentModifyParamsPaymentMethodDatum, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationModifyParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, PaymentRecord.PaymentMethodDetail, SetupIntentConfirmParamsPaymentMethodDatum, SetupIntentCreateParamsPaymentMethodDatum, and SetupIntentModifyParamsPaymentMethodDatum
    • ⚠️ Add support for new values phantom_cash and usdt on enums Charge.PaymentMethodDetail.Crypto.token_currency, PaymentAttemptRecord.PaymentMethodDetail.Crypto.token_currency, and PaymentRecord.PaymentMethodDetail.Crypto.token_currency
    • Add support for location and reader on Charge.PaymentMethodDetail.Klarna, PaymentAttemptRecord.PaymentMethodDetail.Klarna, and PaymentRecord.PaymentMethodDetail.Klarna
    • Add support for mandate on Charge.PaymentMethodDetail.Pix, PaymentAttemptRecord.PaymentMethodDetail.Pix, and PaymentRecord.PaymentMethodDetail.Pix
    • Add support for managed_payments on Checkout.Session, PaymentIntent, PaymentLinkCreateParams, PaymentLink, SetupIntent, Subscription, and checkout.SessionCreateParams
    • Add support for new value sunbit on enums PaymentIntentConfirmParams.excluded_payment_method_types, PaymentIntentCreateParams.excluded_payment_method_types, PaymentIntentModifyParams.excluded_payment_method_types, SetupIntentCreateParams.excluded_payment_method_types, SetupIntentModifyParams.excluded_payment_method_types, and checkout.SessionCreateParams.excluded_payment_method_types
    • Add support for mandate_options on Checkout.Session.PaymentMethodOption.Pix, PaymentIntent.PaymentMethodOption.Pix, PaymentIntentConfirmParamsPaymentMethodOptionPix, PaymentIntentCreateParamsPaymentMethodOptionPix, PaymentIntentModifyParamsPaymentMethodOptionPix, and checkout.SessionCreateParamsPaymentMethodOptionPix
    • Change type of PaymentIntentConfirmParamsPaymentMethodOptionPix.setup_future_usage, PaymentIntentCreateParamsPaymentMethodOptionPix.setup_future_usage, PaymentIntentModifyParamsPaymentMethodOptionPix.setup_future_usage, and checkout.SessionCreateParamsPaymentMethodOptionPix.setup_future_usage from literal('none') to enum('none'|'off_session')
    • Add support for new value sunbit on enum checkout.SessionCreateParams.payment_method_types
    • ⚠️ Add support for new values fo_vat, gi_tin, it_cf, and py_ruc on enums Checkout.Session.CustomerDetail.TaxId.type, Invoice.CustomerTaxId.type, Tax.Calculation.CustomerDetail.TaxId.type, Tax.Transaction.CustomerDetail.TaxId.type, and TaxId.type
    • ⚠️ Change type of Checkout.Session.PaymentMethodOption.Pix.setup_future_usage and PaymentIntent.PaymentMethodOption.Pix.setup_future_usage from literal('none') to enum('none'|'off_session')
    • Add support for new value sunbit on enums ConfirmationTokenCreateParamsPaymentMethodDatum.type, PaymentIntentConfirmParamsPaymentMethodDatum.type, PaymentIntentCreateParamsPaymentMethodDatum.type, PaymentIntentModifyParamsPaymentMethodDatum.type, SetupIntentConfirmParamsPaymentMethodDatum.type, SetupIntentCreateParamsPaymentMethodDatum.type, and SetupIntentModifyParamsPaymentMethodDatum.type
    • ⚠️ Add support for new value sunbit on enums ConfirmationToken.PaymentMethodPreview.type and PaymentMethod.type
    • Add support for new values fo_vat, gi_tin, it_cf, and py_ruc on enums CustomerCreateParamsTaxIdDatum.type, CustomerCreateTaxIdParams.type, InvoiceCreatePreviewParamsCustomerDetailTaxId.type, TaxIdCreateParams.type, and tax.CalculationCreateParamsCustomerDetailTaxId.type
    • Add support for new value sunbit on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
    • Add support for pix on Invoice.PaymentSetting.PaymentMethodOption, InvoiceCreateParamsPaymentSettingPaymentMethodOption, InvoiceModifyParamsPaymentSettingPaymentMethodOption, Mandate.PaymentMethodDetail, SetupAttempt.PaymentMethodDetail, SetupIntent.PaymentMethodOption, SetupIntentConfirmParamsPaymentMethodOption, SetupIntentCreateParamsPaymentMethodOption, SetupIntentModifyParamsPaymentMethodOption, Subscription.PaymentSetting.PaymentMethodOption, SubscriptionCreateParamsPaymentSettingPaymentMethodOption, and SubscriptionModifyParamsPaymentSettingPaymentMethodOption
    • Add support for upi on Invoice.PaymentSetting.PaymentMethodOption, InvoiceCreateParamsPaymentSettingPaymentMethodOption, InvoiceModifyParamsPaymentSettingPaymentMethodOption, Subscription.PaymentSetting.PaymentMethodOption, SubscriptionCreateParamsPaymentSettingPaymentMethodOption, and SubscriptionModifyParamsPaymentSettingPaymentMethodOption
    • Add support for new values pix and upi on enums InvoiceCreateParamsPaymentSetting.payment_method_types, InvoiceModifyParamsPaymentSetting.payment_method_types, SubscriptionCreateParamsPaymentSetting.payment_method_types, and SubscriptionModifyParamsPaymentSetting.payment_method_types
    • ⚠️ Add support for new values pix and upi on enums Invoice.PaymentSetting.payment_method_types and Subscription.PaymentSetting.payment_method_types
    • Add support for card_presence on Issuing.Authorization
    • Add support for allowed_card_presences and blocked_card_presences on Issuing.Card.SpendingControl, Issuing.Cardholder.SpendingControl, issuing.CardCreateParamsSpendingControl, issuing.CardModifyParamsSpendingControl, issuing.CardholderCreateParamsSpendingControl, and issuing.CardholderModifyParamsSpendingControl
    • ⚠️ Add support for new value fulfillment_error on enum Issuing.Card.cancellation_reason
    • ⚠️ Add support for new value fulfillment_error on enum Issuing.Card.replacement_reason
    • Add support for amount and currency on Mandate.MultiUse
    • Add support for amount_to_confirm on PaymentIntentConfirmParams
    • ⚠️ Add support for new value sunbit on enums PaymentIntent.excluded_payment_method_types and SetupIntent.excluded_payment_method_types
    • Add support for klarna_display_qr_code on PaymentIntent.NextAction
    • Add support for new value sunbit on enums PaymentLinkCreateParams.payment_method_types and PaymentLinkModifyParams.payment_method_types
    • ⚠️ Add support for new value sunbit on enum PaymentLink.payment_method_types
    • ⚠️ Add support for new values low, not_assessed, and unknown on enum Radar.PaymentEvaluation.Signal.FraudulentPayment.risk_level
    • Add support for new value account on enum radar.ValueListCreateParams.item_type
    • ⚠️ Add support for new value account on enum Radar.ValueList.item_type
    • Add support for moto on SetupAttempt.PaymentMethodDetail.Card
    • Add support for pix_display_qr_code on SetupIntent.NextAction
    • Add support for new value 2026-04-22.dahlia on enum WebhookEndpointCreateParams.api_version
    • Add support for error codes action_blocked and approval_required on Invoice.LastFinalizationError, PaymentIntent.LastPaymentError, SetupAttempt.SetupError, SetupIntent.LastSetupError, and StripeError

See the changelog for more details.

v15.1.0a4

15 Apr 20:41

Choose a tag to compare

v15.1.0a4 Pre-release
Pre-release
  • #1794 Update generated code for private-preview
    • Add support for latest_version on V2.Billing.LicenseFee, V2.Billing.PricingPlan, and V2.Billing.RateCard
    • Add support for service_interval_count and service_interval on V2.Billing.LicenseFee and V2.Billing.RateCard
  • #1791 Update generated code for private-preview
    • Add support for new resources v2.core.WorkflowRun and v2.core.Workflow
    • Add support for report_authorized method on resource PaymentAttemptRecord
    • Add support for list and retrieve methods on resource v2.core.WorkflowRun
    • Add support for invoke, list, and retrieve methods on resource v2.core.Workflow
    • Add support for next_action and status on SharedPayment.IssuedToken
    • ⚠️ Remove support for network_id on SharedPayment.IssuedToken.SellerDetail
    • Add support for bills on AccountSession.Component
    • Add support for settlement_currencies on BalanceSettings.Payment and BalanceSettingsModifyParamsPayment
    • Add support for default_settlement_currency on BalanceSettings.Payment
    • Add support for account_funding on Charge.PaymentMethodDetail.Card
    • Add support for automatic_surcharge on Checkout.Session, PaymentLinkCreateParams, PaymentLink, and checkout.SessionCreateParams
    • Add support for bizum on Checkout.Session.PaymentMethodOption and checkout.SessionCreateParamsPaymentMethodOption
    • Add support for surcharge_cost on Checkout.Session
    • Add support for amount_surcharge on Checkout.Session.TotalDetail
    • Add support for shared_payment_granted_token on ConfirmationTokenCreateParamsPaymentMethodDatum, PaymentIntentConfirmParamsPaymentMethodDatum, PaymentIntentCreateParamsPaymentMethodDatum, PaymentIntentModifyParamsPaymentMethodDatum, SetupIntentConfirmParamsPaymentMethodDatum, SetupIntentCreateParamsPaymentMethodDatum, and SetupIntentModifyParamsPaymentMethodDatum
    • Add support for new value email on enums identity.VerificationReportListParams.type, identity.VerificationSessionCreateParams.type, and identity.VerificationSessionModifyParams.type
    • Add support for details on Identity.VerificationReport.Email
    • ⚠️ Add support for new value email on enums Identity.VerificationReport.type and Identity.VerificationSession.type
    • Add support for confirm on identity.VerificationSessionCreateParams and identity.VerificationSessionModifyParams
    • Add support for subscription on InvoiceItem.Parent.ScheduleDetail
    • ⚠️ Remove support for shared_payment_granted_token on PaymentIntentConfirmParams and PaymentIntentCreateParams
    • Add support for money_services on PaymentIntent.PaymentDetail
    • ⚠️ Remove support for external_reference on Plan
    • Change SharedPayment.GrantedToken.PaymentMethodDetail.billing_details to be required

See the changelog for more details.

v15.1.0a3

08 Apr 20:45

Choose a tag to compare

v15.1.0a3 Pre-release
Pre-release
  • #1789 Update generated code for private-preview
    • Add support for payment_record on ApplicationFee.FeeSource
    • Add support for fleet_data on ChargeCaptureParamsPaymentDetail, ChargeModifyParamsPaymentDetail, PaymentIntent.PaymentDetail, PaymentIntentAmountDetailsLineItem.PaymentMethodOption.Card, PaymentIntentCaptureParamsAmountDetailLineItemPaymentMethodOptionCard, PaymentIntentCaptureParamsPaymentDetail, PaymentIntentConfirmParamsAmountDetailLineItemPaymentMethodOptionCard, PaymentIntentConfirmParamsPaymentDetail, PaymentIntentCreateParamsAmountDetailLineItemPaymentMethodOptionCard, PaymentIntentCreateParamsPaymentDetail, PaymentIntentDecrementAuthorizationParamsAmountDetailLineItemPaymentMethodOptionCard, PaymentIntentIncrementAuthorizationParamsAmountDetailLineItemPaymentMethodOptionCard, PaymentIntentModifyParamsAmountDetailLineItemPaymentMethodOptionCard, and PaymentIntentModifyParamsPaymentDetail
    • Add support for beneficiary_account, beneficiary_details, sender_account, and sender_details on ChargeCaptureParamsPaymentDetailMoneyServiceAccountFunding, ChargeModifyParamsPaymentDetailMoneyServiceAccountFunding, PaymentIntentCaptureParamsPaymentDetailMoneyServiceAccountFunding, PaymentIntentConfirmParamsPaymentDetailMoneyServiceAccountFunding, PaymentIntentCreateParamsPaymentDetailMoneyServiceAccountFunding, and PaymentIntentModifyParamsPaymentDetailMoneyServiceAccountFunding
    • Change type of ChargeCaptureParamsPaymentDetailMoneyService.transaction_type, ChargeModifyParamsPaymentDetailMoneyService.transaction_type, PaymentIntentCaptureParamsPaymentDetailMoneyService.transaction_type, PaymentIntentConfirmParamsPaymentDetailMoneyService.transaction_type, PaymentIntentCreateParamsPaymentDetailMoneyService.transaction_type, and PaymentIntentModifyParamsPaymentDetailMoneyService.transaction_type from literal('account_funding') to emptyable(literal('account_funding'))
    • ⚠️ Add support for new value requires_action on enum DelegatedCheckout.RequestedSession.status
    • Add support for bizum on Invoice.PaymentSetting.PaymentMethodOption, InvoiceCreateParamsPaymentSettingPaymentMethodOption, InvoiceModifyParamsPaymentSettingPaymentMethodOption, QuotePreviewInvoice.PaymentSetting.PaymentMethodOption, Subscription.PaymentSetting.PaymentMethodOption, SubscriptionCreateParamsPaymentSettingPaymentMethodOption, and SubscriptionModifyParamsPaymentSettingPaymentMethodOption
    • ⚠️ Add support for new value bizum on enums Invoice.PaymentSetting.payment_method_types, InvoiceCreateParamsPaymentSetting.payment_method_types, InvoiceModifyParamsPaymentSetting.payment_method_types, QuotePreviewInvoice.PaymentSetting.payment_method_types, Subscription.PaymentSetting.payment_method_types, SubscriptionCreateParamsPaymentSetting.payment_method_types, and SubscriptionModifyParamsPaymentSetting.payment_method_types
    • Add support for quantity_precision on PaymentIntentAmountDetailsLineItem, PaymentIntentCaptureParamsAmountDetailLineItem, PaymentIntentConfirmParamsAmountDetailLineItem, PaymentIntentCreateParamsAmountDetailLineItem, PaymentIntentDecrementAuthorizationParamsAmountDetailLineItem, PaymentIntentIncrementAuthorizationParamsAmountDetailLineItem, and PaymentIntentModifyParamsAmountDetailLineItem
    • Add support for liquid_asset and wallet on PaymentIntentConfirmParamsPaymentMethodOptionCardPaymentDetailMoneyServiceAccountFunding, PaymentIntentConfirmParamsPaymentMethodOptionCardPresentPaymentDetailMoneyServiceAccountFunding, PaymentIntentCreateParamsPaymentMethodOptionCardPaymentDetailMoneyServiceAccountFunding, PaymentIntentCreateParamsPaymentMethodOptionCardPresentPaymentDetailMoneyServiceAccountFunding, PaymentIntentModifyParamsPaymentMethodOptionCardPaymentDetailMoneyServiceAccountFunding, and PaymentIntentModifyParamsPaymentMethodOptionCardPresentPaymentDetailMoneyServiceAccountFunding
    • Add support for shared_payment_granted_token on PaymentMethod
    • ⚠️ Change type of Radar.CustomerEvaluation.event_type from string to enum('login'|'registration')
    • ⚠️ Change type of Radar.CustomerEvaluation.Signal.AccountSharing.risk_level and Radar.CustomerEvaluation.Signal.MultiAccounting.risk_level from string to enum
    • Add support for data on Radar.PaymentEvaluation.ClientDeviceMetadataDetail and radar.PaymentEvaluationCreateParamsClientDeviceMetadataDetail
    • Add support for sunbit on SharedPayment.GrantedToken.PaymentMethodDetail
    • ⚠️ Add support for new value sunbit on enum SharedPayment.GrantedToken.PaymentMethodDetail.type
    • ⚠️ Remove support for values bm_crn, bo_tin, bt_tpn, co_nit, ec_ruc, eg_tin, gh_tin, gy_tin, hn_rtn, jm_trn, jo_crn, ke_pin, ky_crn, lk_tin, mo_tin, mv_tin, ng_tin, pa_ruc, ph_tin, py_ruc, sl_tin, sv_nit, uy_ruc, vg_cn, and za_tin from enums V2.Core.Account.Identity.BusinessDetail.IdNumber.type, v2.core.AccountCreateParamsIdentityBusinessDetailIdNumber.type, v2.core.AccountModifyParamsIdentityBusinessDetailIdNumber.type, and v2.core.AccountTokenCreateParamsIdentityBusinessDetailIdNumber.type
    • ⚠️ Remove support for values bm_pp, bo_ci, bt_cid, eg_tin, gh_pin, gy_tin, hn_rtn, jm_trn, jo_pin, ky_pp, lk_nic, mo_bir, mt_nic, mv_tin, pa_ruc, ph_tin, py_ruc, si_pin, sv_nit, and vg_pp from enums V2.Core.Account.Identity.Individual.IdNumber.type, V2.Core.AccountPerson.IdNumber.type, v2.core.AccountCreateParamsIdentityIndividualIdNumber.type, v2.core.AccountModifyParamsIdentityIndividualIdNumber.type, v2.core.AccountPersonCreateParamsIdNumber.type, v2.core.AccountPersonModifyParamsIdNumber.type, v2.core.AccountPersonTokenCreateParamsIdNumber.type, and v2.core.AccountTokenCreateParamsIdentityIndividualIdNumber.type
    • Add support for error type CannotProceedError

See the changelog for more details.

v15.1.0b2

01 Apr 23:51

Choose a tag to compare

v15.1.0b2 Pre-release
Pre-release
  • Please refer to the changelog for v15.0.1

See the changelog for more details.

v15.1.0a2

01 Apr 23:51

Choose a tag to compare

v15.1.0a2 Pre-release
Pre-release
  • #1778 Update generated code for private-preview
    • Add support for new resources shared_payment.IssuedToken and v2.data.reporting.QueryRun
    • Add support for create and retrieve methods on resource v2.data.reporting.QueryRun
    • Add support for pause and resume methods on resource v2.payments.OffSessionPayment
    • Add support for tenant_keys, tenant_operator, and tenant_values on billing.BillingMeterListMeterEventSummaryParams
    • Add support for money_services on ChargeCaptureParamsPaymentDetail, ChargeModifyParamsPaymentDetail, PaymentIntentCaptureParamsPaymentDetail, PaymentIntentConfirmParamsPaymentDetail, PaymentIntentCreateParamsPaymentDetail, and PaymentIntentModifyParamsPaymentDetail
    • Add support for payment_method_options on DelegatedCheckout.RequestedSession, delegated_checkout.RequestedSessionCreateParams, and delegated_checkout.RequestedSessionModifyParams
    • ⚠️ Remove support for payment_method_data on delegated_checkout.RequestedSessionConfirmParams, delegated_checkout.RequestedSessionCreateParams, and delegated_checkout.RequestedSessionModifyParams
    • Add support for card_brands and payment_method_types on DelegatedCheckout.RequestedSession.SellerDetail
    • ⚠️ Change type of DelegatedCheckout.RequestedSession.shared_payment_issued_token from string to expandable($SharedPayment.IssuedToken)
    • Add support for check_scan on Invoice.PaymentSetting.PaymentMethodOption, InvoiceCreateParamsPaymentSettingPaymentMethodOption, InvoiceModifyParamsPaymentSettingPaymentMethodOption, QuotePreviewInvoice.PaymentSetting.PaymentMethodOption, Subscription.PaymentSetting.PaymentMethodOption, SubscriptionCreateParamsPaymentSettingPaymentMethodOption, and SubscriptionModifyParamsPaymentSettingPaymentMethodOption
    • ⚠️ Add support for new value check_scan on enums Invoice.PaymentSetting.payment_method_types, InvoiceCreateParamsPaymentSetting.payment_method_types, InvoiceModifyParamsPaymentSetting.payment_method_types, QuotePreviewInvoice.PaymentSetting.payment_method_types, Subscription.PaymentSetting.payment_method_types, SubscriptionCreateParamsPaymentSetting.payment_method_types, and SubscriptionModifyParamsPaymentSetting.payment_method_types
    • Add support for processor_details on PaymentAttemptRecordReportFailedParams, PaymentAttemptRecordReportGuaranteedParams, PaymentRecordReportPaymentAttemptFailedParams, PaymentRecordReportPaymentAttemptGuaranteedParams, PaymentRecordReportPaymentAttemptParamsFailed, PaymentRecordReportPaymentAttemptParamsGuaranteed, PaymentRecordReportPaymentParamsFailed, and PaymentRecordReportPaymentParamsGuaranteed
    • Add support for payment_details on PaymentIntentConfirmParamsPaymentMethodOptionCardPresent, PaymentIntentConfirmParamsPaymentMethodOptionCard, PaymentIntentCreateParamsPaymentMethodOptionCardPresent, PaymentIntentCreateParamsPaymentMethodOptionCard, PaymentIntentModifyParamsPaymentMethodOptionCardPresent, and PaymentIntentModifyParamsPaymentMethodOptionCard
    • ⚠️ Remove support for bill_from on QuotePreviewSubscriptionSchedule.BillingSchedule, Subscription.BillingSchedule, and SubscriptionSchedule.BillingSchedule
    • Add support for agent_details, payment_method_details, and risk_details on SharedPayment.GrantedToken
    • Add support for paper_checks on V2.Account.Configuration.RecipientDatum.Feature, V2.Core.Account.Configuration.Recipient.Capability, V2.Core.Account.Configuration.Storer.Capability.OutboundPayment, v2.AccountCreateParamsConfigurationRecipientDatumFeature, v2.AccountModifyParamsConfigurationRecipientDatumFeature, v2.core.AccountCreateParamsConfigurationRecipientCapability, v2.core.AccountCreateParamsConfigurationStorerCapabilityOutboundPayment, v2.core.AccountModifyParamsConfigurationRecipientCapability, and v2.core.AccountModifyParamsConfigurationStorerCapabilityOutboundPayment
    • ⚠️ Add support for new value paper_checks on enum V2.Account.Configuration.SupportableFeature.recipient_data
    • ⚠️ Add support for new value paper_checks on enum V2.Account.Requirement.Impact.required_for_features
    • ⚠️ Change type of V2.Billing.Cadence.SettingsDatum.Collection.PaymentMethodOption.konbini, V2.Billing.CollectionSetting.PaymentMethodOption.konbini, V2.Billing.CollectionSettingVersion.PaymentMethodOption.konbini, v2.billing.CollectionSettingCreateParamsPaymentMethodOption.konbini, and v2.billing.CollectionSettingModifyParamsPaymentMethodOption.konbini from map(string: dynamic) to an object
    • ⚠️ Change type of V2.Billing.Cadence.SettingsDatum.Collection.PaymentMethodOption.sepa_debit, V2.Billing.CollectionSetting.PaymentMethodOption.sepa_debit, V2.Billing.CollectionSettingVersion.PaymentMethodOption.sepa_debit, v2.billing.CollectionSettingCreateParamsPaymentMethodOption.sepa_debit, and v2.billing.CollectionSettingModifyParamsPaymentMethodOption.sepa_debit from map(string: dynamic) to an object
    • Add support for id on V2.Billing.CadenceSpendModifier.MaxBillingPeriodSpend.Amount.CustomPricingUnit, V2.Billing.IntentAction.Apply.SpendModifierRule.MaxBillingPeriodSpend.Amount.CustomPricingUnit, and v2.billing.IntentCreateParamsActionApplySpendModifierRuleMaxBillingPeriodSpendAmountCustomPricingUnit
    • ⚠️ Add support for new values outbound_payments.paper_checks and paper_checks on enums V2.Core.Account.FutureRequirement.Entry.Impact.RestrictsCapability.capability and V2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.capability
    • ⚠️ Add support for new values bm_crn, bo_tin, bt_tpn, co_nit, ec_ruc, eg_tin, gh_tin, gy_tin, hn_rtn, jm_trn, jo_crn, ke_pin, ky_crn, lk_tin, mo_tin, mv_tin, ng_tin, pa_ruc, ph_tin, py_ruc, sl_tin, sv_nit, uy_ruc, vg_cn, and za_tin 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 new values bm_pp, bo_ci, bt_cid, eg_tin, gh_pin, gy_tin, hn_rtn, jm_trn, jo_pin, ky_pp, lk_nic, mo_bir, mt_nic, mv_tin, pa_ruc, ph_tin, py_ruc, si_pin, sv_nit, and vg_pp on enums V2.Core.Account.Identity.Individual.IdNumber.type, V2.Core.AccountPerson.IdNumber.type, v2.core.AccountCreateParamsIdentityIndividualIdNumber.type, v2.core.AccountModifyParamsIdentityIndividualIdNumber.type, v2.core.AccountPersonCreateParamsIdNumber.type, v2.core.AccountPersonModifyParamsIdNumber.type, v2.core.AccountPersonTokenCreateParamsIdNumber.type, and v2.core.AccountTokenCreateParamsIdentityIndividualIdNumber.type
    • ⚠️ Change type of V2.Core.Event.Reason.Request.Client.stripe_action from map(string: dynamic) to an object
    • ⚠️ Change type of V2.MoneyManagement.InboundTransfer.TransferHistory.bank_debit_processing from map(string: dynamic) to an object
    • ⚠️ Change type of V2.MoneyManagement.InboundTransfer.TransferHistory.bank_debit_queued from map(string: dynamic) to an object
    • ⚠️ Change type of V2.MoneyManagement.InboundTransfer.TransferHistory.bank_debit_succeeded from map(string: dynamic) to an object
    • ⚠️ Add support for new values paper_check_attachment_too_large, paper_check_expired, and paper_check_undeliverable on enum V2.MoneyManagement.OutboundPayment.StatusDetail.Failed.reason
    • ⚠️ Remove support for town on V2.MoneyManagement.OutboundPayment.TrackingDetail.PaperCheck.MailingAddress
    • Change V2.MoneyManagement.OutboundPayment.DeliveryOption.PaperCheck.memo to be required
    • ⚠️ Add support for new value payout_method_amount_limit_exceeded on enum V2.MoneyManagement.OutboundTransfer.StatusDetail.Failed.reason
    • Add support for application_fee_amount_requested on V2.Payments.OffSessionPayment
    • ⚠️ Remove support for compartment_id on V2.Payments.OffSessionPayment
    • ⚠️ Add support for new value exceeded_retry_window on enum V2.Payments.OffSessionPayment.failure_reason
    • Add support for retry_until on V2.Payments.OffSessionPayment.RetryDetail
    • ⚠️ Add support for new value paused on enum V2.Payments.OffSessionPayment.status
    • ⚠️ Change V2.Reporting.ReportRun.Result.file to be optional
    • Add support for application_fee_amount on v2.payments.OffSessionPaymentCaptureParams and v2.payments.OffSessionPaymentCreateParams
    • ⚠️ Add support for new value paper_checks on enum EventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updated_capability
    • ⚠️ Add support for new value outbound_payments.paper_checks on enum EventsV2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent.updated_capability
    • Add support for alert_id on EventsV2CoreHealthApiErrorResolvedEvent, EventsV2CoreHealthApiLatencyResolvedEvent, EventsV2CoreHealthAuthorizationRateDropResolvedEvent, EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent, EventsV2CoreHealthPaymentMethodErrorResolvedEvent, EventsV2CoreHealthSepaDebitDelayedFiringEvent, EventsV2CoreHealthSepaDebitDelayedResolvedEvent, EventsV2CoreHealthTrafficVolumeDropResolvedEvent, and EventsV2CoreHealthWebhookLatencyResolvedEvent
    • Add support for api_key on EventsV2IamApiKeyCreatedEvent, EventsV2IamApiKeyDefaultSecretRevealedEvent, EventsV2IamApiKeyExpiredEvent, EventsV2IamApiKeyPermissionsUpdatedEvent, EventsV2IamApiKeyRotatedEvent, and EventsV2IamApiKeyUpdatedEvent
    • Add support for stripe_access_grant on EventsV2IamStripeAccessGrantApprovedEvent, `EventsV2IamStripeAccessGrantCanc...
Read more

v15.0.1

01 Apr 23:48

Choose a tag to compare

  • #1786 Fix encoding two-dimensional array request params
  • #1785 Improve types for metadata and other dict-like types
  • #1780 Fix str / repr for StripeObjects with decimals & add support for plain dicts

See the changelog for more details.

v15.1.0b1

26 Mar 02:17

Choose a tag to compare

v15.1.0b1 Pre-release
Pre-release

This release changes the pinned API version to 2026-03-25.preview. It is built on top of SDK version 15.0.0 which contains breaking changes. Please review the changelog for 15.0.0 if upgrading from older SDK versions.

  • #1774 Update generated code for beta
  • #1772 Update generated code for beta
    • Release specs are identical.
  • #1742 Update generated code for beta
    • Add support for new resources product_catalog.TrialOffer, tax.Location, and v2.core.BatchJob
    • Add support for create method on resource product_catalog.TrialOffer
    • Add support for create, list, and retrieve methods on resource tax.Location
    • Add support for cancel, create, and retrieve methods on resource v2.core.BatchJob
    • Add support for performance_location on Tax.CalculationLineItem 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
    • Add support for trial_offer on InvoiceCreatePreviewParamsScheduleDetailAmendmentItemActionAdd, InvoiceCreatePreviewParamsScheduleDetailAmendmentItemActionSet, InvoiceCreatePreviewParamsScheduleDetailPhaseItem, QuoteCreateParamsLineActionAddItem, QuoteCreateParamsLineActionSetItem, QuoteLine.Action.AddItem, QuoteLine.Action.SetItem, QuoteModifyParamsLineActionAddItem, QuoteModifyParamsLineActionSetItem, QuotePreviewSubscriptionSchedule.Phase.Item, SubscriptionSchedule.Phase.Item, SubscriptionScheduleAmendParamsAmendmentItemActionAdd, SubscriptionScheduleAmendParamsAmendmentItemActionSet, SubscriptionScheduleCreateParamsPhaseItem, and SubscriptionScheduleModifyParamsPhaseItem
    • Add support for risk_reserved on Balance
    • ⚠️ Remove support for source_type on Charge.PaymentMethodDetail.StripeBalance, ConfirmationToken.PaymentMethodPreview.StripeBalance, ConfirmationTokenCreateParamsPaymentMethodDatumStripeBalance, PaymentAttemptRecord.PaymentMethodDetail.StripeBalance, PaymentIntentConfirmParamsPaymentMethodDatumStripeBalance, PaymentIntentCreateParamsPaymentMethodDatumStripeBalance, PaymentIntentModifyParamsPaymentMethodDatumStripeBalance, PaymentMethod.StripeBalance, PaymentMethodCreateParamsStripeBalance, PaymentRecord.PaymentMethodDetail.StripeBalance, SetupIntentConfirmParamsPaymentMethodDatumStripeBalance, SetupIntentCreateParamsPaymentMethodDatumStripeBalance, and SetupIntentModifyParamsPaymentMethodDatumStripeBalance
    • Add support for tax_details on InvoiceAddLinesParamsLinePriceDatumProductDatum, InvoiceLineItemModifyParamsPriceDatumProductDatum, InvoiceUpdateLinesParamsLinePriceDatumProductDatum, PaymentLinkCreateParamsLineItemPriceDatumProductDatum, PlanCreateParamsProduct, PriceCreateParamsProductDatum, ProductCreateParams, ProductModifyParams, checkout.SessionCreateParamsLineItemPriceDatumProductDatum, and checkout.SessionModifyParamsLineItemPriceDatumProductDatum
    • Add support for pending_invoice_item_interval on checkout.SessionModifyParamsSubscriptionDatum
    • Add support for hosted and ui_mode on FinancialConnections.Session and financial_connections.SessionCreateParams
    • Add support for url on FinancialConnections.Session
    • Add support for expires_after_seconds on Invoice.PaymentSetting.PaymentMethodOption.Pix, InvoiceCreateParamsPaymentSettingPaymentMethodOptionPix, InvoiceModifyParamsPaymentSettingPaymentMethodOptionPix, QuotePreviewInvoice.PaymentSetting.PaymentMethodOption.Pix, Subscription.PaymentSetting.PaymentMethodOption.Pix, SubscriptionCreateParamsPaymentSettingPaymentMethodOptionPix, and SubscriptionModifyParamsPaymentSettingPaymentMethodOptionPix
    • Add support for current_trial on InvoiceCreatePreviewParamsSubscriptionDetailItem, SubscriptionCreateParamsItem, SubscriptionItemCreateParams, SubscriptionItemModifyParams, SubscriptionItem, and SubscriptionModifyParamsItem
    • Add support for surcharge on PaymentIntent.AmountDetail, PaymentIntentCaptureParamsAmountDetail, PaymentIntentConfirmParamsAmountDetail, PaymentIntentCreateParamsAmountDetail, PaymentIntentIncrementAuthorizationParamsAmountDetail, and PaymentIntentModifyParamsAmountDetail
    • Add support for amount_details and payment_details on PaymentIntentDecrementAuthorizationParams
    • Add support for mandate_options on PaymentIntent.PaymentMethodOption.StripeBalance
    • Add support for managed_payments on PaymentLinkCreateParams and PaymentLink
    • Add support for stripe_balance on SetupIntent.PaymentMethodOption, SetupIntentConfirmParamsPaymentMethodOption, SetupIntentCreateParamsPaymentMethodOption, and SetupIntentModifyParamsPaymentMethodOption
    • Add support for billing_cycle_anchor on Subscription.TrialSetting.EndBehavior, SubscriptionCreateParamsTrialSettingEndBehavior, and SubscriptionModifyParamsTrialSettingEndBehavior
    • ⚠️ 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
    • ⚠️ Change type of V2.Billing.Cadence.SettingsDatum.Collection.PaymentMethodOption.Card.MandateOption.amount, V2.Billing.CollectionSetting.PaymentMethodOption.Card.MandateOption.amount, V2.Billing.CollectionSettingVersion.PaymentMethodOption.Card.MandateOption.amount, v2.billing.CollectionSettingCreateParamsPaymentMethodOptionCardMandateOption.amount, and v2.billing.CollectionSettingModifyParamsPaymentMethodOptionCardMandateOption.amount from longInteger to int64_string
    • ⚠️ Add support for new values ar_bank_account, co_bank_account, and eg_bank_account on enum V2.Core.Account.Configuration.Recipient.DefaultOutboundDestination.type
    • Add support for timezone on V2.Core.Account.Default, v2.core.AccountCreateParamsDefault, and v2.core.AccountModifyParamsDefault
    • Add support for azure_event_grid on V2.Core.EventDestination and v2.core.EventDestinationCreateParams
    • ⚠️ Add support for new value no_azure_partner_topic_exists on enum V2.Core.EventDestination.StatusDetail.Disabled.reason
    • ⚠️ Add support for new value azure_event_grid on enums V2.Core.EventDestination.type and v2.core.EventDestinationCreateParams.type
    • Add support for supported_currencies on V2.Core.Vault.GbBankAccount, V2.Core.Vault.UsBankAccount, and V2.MoneyManagement.PayoutMethod.Card
    • ⚠️ Change V2.Core.Vault.GbBankAccount.sort_code and v2.core.vault.GbBankAccountCreateParams.sort_code to be optional
    • Add support for restricted on V2.MoneyManagement.PayoutMethod
    • Add support for currencies on V2.MoneyManagement.PayoutMethodsBankAccountSpec.Country.Field
    • Add support for counterparty and description on V2.MoneyManagement.Transaction
    • ⚠️ Add support for currency on v2.core.vault.GbBankAccountCreateParams, v2.core.vault.UsBankAccountCreateParams, v2.money_management.OutboundSetupIntentCreateParamsPayoutMethodDatumBankAccount, v2.money_management.OutboundSetupIntentCreateParamsPayoutMethodDatumCard, v2.money_management.OutboundSetupIntentModifyParamsPayoutMethodDatumBankAccount, and v2.money_management.OutboundSetupIntentModifyParamsPayoutMethodDatumCard
    • Add support for iban on v2.core.vault.GbBankAccountCreateParams
    • Change v2.core.vault.GbBankAccountCreateParams.account_number to be optional
    • ⚠️ Add support for new value currency on enum InvalidPaymentMethodError.invalid_param
    • Add support for event notifications V2CoreBatchJobBatchFailedEvent, V2CoreBatchJobCanceledEvent, V2CoreBatchJobCompletedEvent, V2CoreBatchJobCreatedEvent, V2CoreBatchJobReadyForUploadEvent, V2CoreBatchJobTimeoutEvent, V2CoreBatchJobUpdatedEvent, V2CoreBatchJobUploadTimeoutEvent, V2CoreBatchJobValidatingEvent, and V2CoreBatchJobValidationFailedEvent with related object v2.core.BatchJob
    • Add support for error code service_period_coupon_with_metered_tiered_item_unsupported on QuotePreviewInvoice.LastFinalizationError
  • #1765 Merge to beta
  • #1753 Merge to beta
  • #1745 Merge to beta
  • #1713 Delete API_VERSION file as it is no longer needed

See the changelog for more details.

v15.1.0a1

26 Mar 02:27

Choose a tag to compare

v15.1.0a1 Pre-release
Pre-release

This release changes the pinned API version to 2026-03-25.preview and contains additional breaking changes. See the GA changelog for more information.

  • #1776 Update generated code for private-preview
    • Add support for new resource RiskSignals
    • Add support for financial_account_rewards and nesting_demo on AccountSession.Component
    • Add support for upi_payments on Account.Capability, AccountCreateParamsCapability, and AccountModifyParamsCapability
    • Add support for risk_signals on Account
    • Add support for fraud_intent on AccountSignals
    • ⚠️ Add support for new value related_accounts on enum AccountSignals.Delinquency.Indicator.indicator
    • Add support for risk_reserved on Balance
    • ⚠️ Remove support for billable_items on Billing.Alert.SpendThreshold.Filter
    • Add support for upi on Charge.PaymentMethodDetail, Checkout.Session.PaymentMethodOption, ConfirmationToken.PaymentMethodPreview, ConfirmationTokenCreateParamsPaymentMethodDatum, Mandate.PaymentMethodDetail, PaymentAttemptRecord.PaymentMethodDetail, PaymentIntent.PaymentMethodOption, PaymentIntentConfirmParamsPaymentMethodDatum, PaymentIntentConfirmParamsPaymentMethodOption, PaymentIntentCreateParamsPaymentMethodDatum, PaymentIntentCreateParamsPaymentMethodOption, PaymentIntentModifyParamsPaymentMethodDatum, PaymentIntentModifyParamsPaymentMethodOption, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationModifyParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, PaymentRecord.PaymentMethodDetail, SetupAttempt.PaymentMethodDetail, SetupIntent.PaymentMethodOption, SetupIntentConfirmParamsPaymentMethodDatum, SetupIntentConfirmParamsPaymentMethodOption, SetupIntentCreateParamsPaymentMethodDatum, SetupIntentCreateParamsPaymentMethodOption, SetupIntentModifyParamsPaymentMethodDatum, SetupIntentModifyParamsPaymentMethodOption, and checkout.SessionCreateParamsPaymentMethodOption
    • ⚠️ Add support for new value tempo on enums Charge.PaymentMethodDetail.Crypto.network, PaymentAttemptRecord.PaymentMethodDetail.Crypto.network, and PaymentRecord.PaymentMethodDetail.Crypto.network
    • ⚠️ Remove support for source_type on Charge.PaymentMethodDetail.StripeBalance, ConfirmationToken.PaymentMethodPreview.StripeBalance, ConfirmationTokenCreateParamsPaymentMethodDatumStripeBalance, PaymentAttemptRecord.PaymentMethodDetail.StripeBalance, PaymentIntentConfirmParamsPaymentMethodDatumStripeBalance, PaymentIntentCreateParamsPaymentMethodDatumStripeBalance, PaymentIntentModifyParamsPaymentMethodDatumStripeBalance, PaymentMethod.StripeBalance, PaymentMethodCreateParamsStripeBalance, PaymentRecord.PaymentMethodDetail.StripeBalance, SetupIntentConfirmParamsPaymentMethodDatumStripeBalance, SetupIntentCreateParamsPaymentMethodDatumStripeBalance, and SetupIntentModifyParamsPaymentMethodDatumStripeBalance
    • Add support for integration_identifier on Checkout.Session and checkout.SessionCreateParams
    • ⚠️ Add support for new value application on enums Checkout.Session.AutomaticTax.Liability.type, Checkout.Session.InvoiceCreation.InvoiceDatum.Issuer.type, Invoice.AutomaticTax.Liability.type, Invoice.Issuer.type, InvoiceCreateParamsAutomaticTaxLiability.type, InvoiceCreateParamsIssuer.type, InvoiceCreatePreviewParamsAutomaticTaxLiability.type, InvoiceCreatePreviewParamsIssuer.type, InvoiceCreatePreviewParamsScheduleDetailPhaseAutomaticTaxLiability.type, InvoiceCreatePreviewParamsScheduleDetailPhaseInvoiceSettingIssuer.type, InvoiceModifyParamsAutomaticTaxLiability.type, InvoiceModifyParamsIssuer.type, PaymentLink.AutomaticTax.Liability.type, PaymentLink.InvoiceCreation.InvoiceDatum.Issuer.type, PaymentLink.SubscriptionDatum.InvoiceSetting.Issuer.type, PaymentLinkCreateParamsAutomaticTaxLiability.type, PaymentLinkCreateParamsInvoiceCreationInvoiceDatumIssuer.type, PaymentLinkCreateParamsSubscriptionDatumInvoiceSettingIssuer.type, PaymentLinkModifyParamsAutomaticTaxLiability.type, PaymentLinkModifyParamsInvoiceCreationInvoiceDatumIssuer.type, PaymentLinkModifyParamsSubscriptionDatumInvoiceSettingIssuer.type, Quote.AutomaticTax.Liability.type, Quote.InvoiceSetting.Issuer.type, QuoteCreateParamsAutomaticTaxLiability.type, QuoteCreateParamsInvoiceSettingIssuer.type, QuoteModifyParamsAutomaticTaxLiability.type, QuoteModifyParamsInvoiceSettingIssuer.type, QuotePreviewInvoice.AutomaticTax.Liability.type, QuotePreviewInvoice.Issuer.type, QuotePreviewSubscriptionSchedule.DefaultSetting.AutomaticTax.Liability.type, QuotePreviewSubscriptionSchedule.DefaultSetting.InvoiceSetting.Issuer.type, QuotePreviewSubscriptionSchedule.Phase.AutomaticTax.Liability.type, QuotePreviewSubscriptionSchedule.Phase.InvoiceSetting.Issuer.type, Subscription.AutomaticTax.Liability.type, Subscription.InvoiceSetting.Issuer.type, SubscriptionCreateParamsAutomaticTaxLiability.type, SubscriptionCreateParamsInvoiceSettingIssuer.type, SubscriptionModifyParamsAutomaticTaxLiability.type, SubscriptionModifyParamsInvoiceSettingIssuer.type, SubscriptionSchedule.DefaultSetting.AutomaticTax.Liability.type, SubscriptionSchedule.DefaultSetting.InvoiceSetting.Issuer.type, SubscriptionSchedule.Phase.AutomaticTax.Liability.type, SubscriptionSchedule.Phase.InvoiceSetting.Issuer.type, SubscriptionScheduleCreateParamsDefaultSettingAutomaticTaxLiability.type, SubscriptionScheduleCreateParamsDefaultSettingInvoiceSettingIssuer.type, SubscriptionScheduleCreateParamsPhaseAutomaticTaxLiability.type, SubscriptionScheduleCreateParamsPhaseInvoiceSettingIssuer.type, SubscriptionScheduleModifyParamsDefaultSettingAutomaticTaxLiability.type, SubscriptionScheduleModifyParamsDefaultSettingInvoiceSettingIssuer.type, SubscriptionScheduleModifyParamsPhaseAutomaticTaxLiability.type, SubscriptionScheduleModifyParamsPhaseInvoiceSettingIssuer.type, checkout.SessionCreateParamsAutomaticTaxLiability.type, checkout.SessionCreateParamsInvoiceCreationInvoiceDatumIssuer.type, checkout.SessionCreateParamsSubscriptionDatumInvoiceSettingIssuer.type, checkout.SessionModifyParamsAutomaticTaxLiability.type, checkout.SessionModifyParamsInvoiceCreationInvoiceDatumIssuer.type, and checkout.SessionModifyParamsSubscriptionDatumInvoiceSettingIssuer.type
    • Add support for new value upi on enum checkout.SessionCreateParams.excluded_payment_method_types
    • Change type of InvoiceAddLinesParamsLinePriceDatumProductDatumTaxDetail.tax_code, InvoiceLineItemModifyParamsPriceDatumProductDatumTaxDetail.tax_code, InvoiceUpdateLinesParamsLinePriceDatumProductDatumTaxDetail.tax_code, PaymentLinkCreateParamsLineItemPriceDatumProductDatumTaxDetail.tax_code, PlanCreateParamsProductTaxDetail.tax_code, PriceCreateParamsProductDatumTaxDetail.tax_code, ProductCreateParamsTaxDetail.tax_code, ProductModifyParamsTaxDetail.tax_code, checkout.SessionCreateParamsLineItemPriceDatumProductDatumTaxDetail.tax_code, and checkout.SessionModifyParamsLineItemPriceDatumProductDatumTaxDetail.tax_code from string to emptyable(string)
    • Add support for crypto on checkout.SessionCreateParamsPaymentMethodOption
    • Add support for new value upi on enum checkout.SessionCreateParams.payment_method_types
    • Add support for pending_invoice_item_interval on checkout.SessionCreateParamsSubscriptionDatum and checkout.SessionModifyParamsSubscriptionDatum
    • ⚠️ Add support for new values elements, embedded_page, form, and hosted_page on enums Checkout.Session.ui_mode and checkout.SessionCreateParams.ui_mode
    • ⚠️ Remove support for values custom, embedded, and hosted from enums Checkout.Session.ui_mode and checkout.SessionCreateParams.ui_mode
    • Change InvoiceAddLinesParamsLinePriceDatumProductDatumTaxDetail.tax_code, InvoiceLineItemModifyParamsPriceDatumProductDatumTaxDetail.tax_code, InvoiceUpdateLinesParamsLinePriceDatumProductDatumTaxDetail.tax_code, PaymentLinkCreateParamsLineItemPriceDatumProductDatumTaxDetail.tax_code, PlanCreateParamsProductTaxDetail.tax_code, PriceCreateParamsProductDatumTaxDetail.tax_code, ProductCreateParamsTaxDetail.tax_code, ProductModifyParamsTaxDetail.tax_code, checkout.SessionCreateParamsLineItemPriceDatumProductDatumTaxDetail.tax_code, and checkout.SessionModifyParamsLineItemPriceDatumProductDatumTaxDetail.tax_code to be optional
    • Add support for au_becs_debit, bacs_debit, boleto, link, sepa_debit, and us_bank_account on Checkout.Session.CurrentAttempt.PaymentMethodDetail
    • ⚠️ Add support for new value marine_carbon_removal on enum Climate.Supplier.removal_pathway
    • Add support for new value upi on enums ConfirmationTokenCreateParamsPaymentMethodDatum.type, PaymentIntentConfirmParamsPaymentMethodDatum.type, PaymentIntentCreateParamsPaymentMethodDatum.type, PaymentIntentModifyParamsPaymentMethodDatum.type, SetupIntentConfirmParamsPaymentMethodDatum.type, SetupIntentCreateParamsPaymentMethodDatum.type, and SetupIntentModifyParamsPaymentMethodDatum.type
    • ⚠️ Add support for new value upi on enums ConfirmationToken.PaymentMethodPreview.type and PaymentMethod.type
    • Add support for metadata on CreditNoteCreateParamsLine, CreditNoteLineItem, CreditNotePreviewLinesParamsLine, and CreditNotePreviewParamsLine
    • Add support for new value upi on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
    • Add support for selected_fulfillment_option_overrides on DelegatedCheckout.RequestedSession.FulfillmentDetail
    • Add support for line_item_keys on DelegatedCheckout.RequestedSession.FulfillmentDetail.FulfillmentOption.Digital.DigitalOption and ...
Read more