This release changes the pinned API version to 2025-03-31.preview
AmountOverpaid on InvoicePaymentout_of_band_payment and payment_record from enum InvoicePayment.Payment.typeRateCardSubscriptionDetails on InvoiceItemParentApplicationFeeAmount, PaidOutOfBand, and Paid on QuotePreviewInvoicebilling_thresholds on QuotePreviewSubscriptionSchedule.DefaultSetting, QuotePreviewSubscriptionSchedule.Phase.Item, and QuotePreviewSubscriptionSchedule.Phasecoupon on QuotePreviewSubscriptionSchedule.PhaseQuotePreviewInvoice.Parent.SubscriptionDetail.subscription from string to expandable($Subscription)CheckoutSession.Permission.update to be optionalPaymentAttemptRecord.PaymentMethodDetail.type and PaymentRecord.PaymentMethodDetail.type from literal('custom') to stringPaymentAttemptRecord.payment_record from string to nullable(string)PaymentAttemptRecord.PaymentMethodDetail.custom and PaymentRecord.PaymentMethodDetail.custom to be optionalPaymentRecord.latest_payment_attempt_record from string to nullable(string)Order.CreateParamsPaymentSettingPaymentMethodOptionWechatPay.client and Order.UpdateParamsPaymentSettingPaymentMethodOptionWechatPay.client to be optionalpayment_method_options on ConfirmationToken.CreateParamsinstallments on ConfirmationToken.PaymentMethodOption.Cardbillie on PaymentIntent.ConfirmParamsPaymentMethodOption, PaymentIntent.CreateParamsPaymentMethodOption, PaymentIntent.PaymentMethodOption, and PaymentIntent.UpdateParamsPaymentMethodOptionupdate_line_items on CheckoutSession.Permission and checkout.Session.CreateParamsPermissionnew resources BalanceSettingsmodify and retrieve methods on resource BalanceSettingscreate, delete, list, modify, and retrieve methods on a new ExternalAccountService to access cards and bank accounts made available in the new path v1/external_accountsstripe_balance_payments on Account.Capability, Account.CreateParamsCapability, and Account.UpdateParamsCapabilitystripe_balance_payment_debit_reversal and stripe_balance_payment_debit on enum BalanceTransaction.typecustomer_account on BillingCreditBalanceSummary, BillingCreditGrant, BillingPortalSession, CheckoutSession, ConfirmationToken.PaymentMethodPreview, CreditNote.ListParams, CreditNote, CustomerBalanceTransaction, CustomerCashBalanceTransaction, CustomerCashBalance, CustomerPaymentMethod, CustomerSession.CreateParams, CustomerSession, CustomerTaxId.Owner, CustomerTaxId, Customer, Discount, FinancialConnectionsAccount.AccountHolder, FinancialConnectionsSession.AccountHolder, Invoice.CreateParams, Invoice.CreatePreviewParams, Invoice.ListParams, InvoiceItem.CreateParams, InvoiceItem.ListParams, InvoiceItem, Invoice, PaymentIntent.CreateParams, PaymentIntent.ListParams, PaymentIntent.UpdateParams, PaymentIntent, PaymentMethod.AttachParams, PaymentMethod, PromotionCode.CreateParams, PromotionCode.ListParams, PromotionCode, Quote.CreateParams, Quote.ListParams, Quote.UpdateParams, QuotePreviewInvoice, QuotePreviewSubscriptionSchedule, Quote, SetupAttempt, SetupIntent.CreateParams, SetupIntent.ListParams, SetupIntent.UpdateParams, SetupIntent, Subscription.CreateParams, Subscription.ListParams, SubscriptionSchedule.CreateParams, SubscriptionSchedule.ListParams, SubscriptionSchedule, Subscription, TaxId.CreateParamsOwner, TaxId.ListParamsOwner, TaxId.Owner, TaxId, billing.CreditBalanceSummary.RetrieveParams, billing.CreditBalanceTransaction.ListParams, billing.CreditGrant.CreateParams, billing.CreditGrant.ListParams, billingportal.Session.CreateParams, checkout.Session.CreateParams, checkout.Session.ListParams, financialconnections.Account.ListParamsAccountHolder, and financialconnections.Session.CreateParamsAccountHolderstripe_balance on Charge.PaymentMethodDetail, ConfirmationToken.CreateParamsPaymentMethodDatum, ConfirmationToken.PaymentMethodPreview, CustomerPaymentMethod, PaymentAttemptRecord.PaymentMethodDetail, PaymentIntent.ConfirmParamsPaymentMethodDatum, PaymentIntent.ConfirmParamsPaymentMethodOption, PaymentIntent.CreateParamsPaymentMethodDatum, PaymentIntent.CreateParamsPaymentMethodOption, PaymentIntent.PaymentMethodOption, PaymentIntent.UpdateParamsPaymentMethodDatum, PaymentIntent.UpdateParamsPaymentMethodOption, PaymentMethod.CreateParams, PaymentMethod, PaymentRecord.PaymentMethodDetail, SetupAttempt.PaymentMethodDetail, SetupIntent.ConfirmParamsPaymentMethodDatum, SetupIntent.CreateParamsPaymentMethodDatum, and SetupIntent.UpdateParamsPaymentMethodDatumupdate_shipping_details on CheckoutSession.Permission and checkout.Session.CreateParamsPermissionprovider on CheckoutSession.AutomaticTax, Invoice.AutomaticTax, Quote.AutomaticTax, and QuotePreviewInvoice.AutomaticTaxtax_calculation_reference on CreditNoteLineItem, CreditNotePreviewLines, InvoiceLineItem, LineItem, PaymentLinkLineItem, QuoteComputedUpfrontLineItems, QuoteLineItem, and SessionLineItemcontext on Eventrelated_customer_account on IdentityVerificationSession, identity.VerificationSession.CreateParams, and identity.VerificationSession.ListParamspayout_method on Payout.CreateParams and Payoutconfirmation_secret, parent, and total_taxes on QuotePreviewInvoiceforwarding_api_retryable_upstream_error, setup_intent_mobile_wallet_unsupported, v2_account_disconnection_unsupported, and v2_account_missing_configuration on enum QuotePreviewInvoice.LastFinalizationError.codeklarna, nz_bank_account, and stripe_balance on enum QuotePreviewInvoice.PaymentSetting.payment_method_typesid and text on TerminalReader.Action.CollectInput.Input.Selection.Choice, TerminalReader.Action.CollectInput.Input.Selection, and terminal.Reader.CollectInputsParamsInputSelectionChoicenetwork_data on IssuingDisputeSettlementDetailinterchange_fees_amount, net_total_amount, network_fees_amount, other_fees_amount, other_fees_count, and transaction_amount on IssuingSettlementreported_by on PaymentAttemptRecordChange CustomerSession.CreateParams.customer, InvoiceItem.CreateParams.customer, PaymentMethod.AttachParams.customer, Subscription.CreateParams.customer, billing.CreditBalanceSummary.RetrieveParams.customer, billing.CreditBalanceTransaction.ListParams.customer, billing.CreditGrant.CreateParams.customer, and billingportal.Session.CreateParams.customer to be optional
Change type of Invoice.Parent.SubscriptionDetail.PauseCollection.behavior and QuotePreviewInvoice.Parent.SubscriptionDetail.PauseCollection.behavior from string to enum('keep_as_draft'|'mark_uncollectible'|'void')
Change CreditNote.refunds to be required
Change Invoice.amount_overpaid and QuotePreviewInvoice.amount_overpaid to be required
Change type of InvoicePayment.is_default from nullable(boolean) to boolean
Change type of PaymentAttemptRecord.PaymentMethodDetail.custom and PaymentRecord.PaymentMethodDetail.custom from nullable(PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails) to PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails
Change PaymentRecord.ReportPaymentParams.payment_reference to be optional
#1476 Update add_beta_version logic
will use the highest version number used for a beta feature instead of raising anException` on a conflict as it had done previously.Fetched March 31, 2026