This release changes the pinned API version to 2025-12-15.clover.
- #1696 Update generated code
- Add support for new resources
v2.core.AccountLink,v2.core.AccountPersonToken,v2.core.AccountPerson,v2.core.AccountToken, andv2.core.Account - Add support for
createandretrievemethods on resourcesv2.core.AccountPersonTokenandv2.core.AccountToken - Add support for
createmethod on resourcev2.core.AccountLink - Add support for
close,create,list,modify, andretrievemethods on resourcev2.core.Account - Add support for
create,delete,list,modify, andretrievemethods on resourcev2.core.AccountPerson - Add support for
customer_accountonBilling.CreditBalanceSummary,Billing.CreditGrant,BillingPortal.Session,CashBalance,Checkout.Session,ConfirmationToken.PaymentMethodPreview,CreditNoteListParams,CreditNote,CustomerBalanceTransaction,CustomerCashBalanceTransaction,CustomerSessionCreateParams,CustomerSession,Customer,Discount,FinancialConnections.Account.AccountHolder,FinancialConnections.Session.AccountHolder,InvoiceCreateParams,InvoiceCreatePreviewParams,InvoiceItemCreateParams,InvoiceItemListParams,InvoiceItem,InvoiceListParams,Invoice,PaymentIntentCreateParams,PaymentIntentListParams,PaymentIntentModifyParams,PaymentIntent,PaymentMethodAttachParams,PaymentMethodListParams,PaymentMethod,PromotionCodeCreateParams,PromotionCodeListParams,PromotionCode,QuoteCreateParams,QuoteListParams,QuoteModifyParams,Quote,SetupAttempt,SetupIntentCreateParams,SetupIntentListParams,SetupIntentModifyParams,SetupIntent,SubscriptionCreateParams,SubscriptionListParams,SubscriptionScheduleCreateParams,SubscriptionScheduleListParams,SubscriptionSchedule,Subscription,TaxId.Owner,TaxIdCreateParamsOwner,TaxIdListParamsOwner,TaxId,billing.CreditBalanceSummaryRetrieveParams,billing.CreditBalanceTransactionListParams,billing.CreditGrantCreateParams,billing.CreditGrantListParams,billing_portal.SessionCreateParams,checkout.SessionCreateParams,checkout.SessionListParams,financial_connections.AccountListParamsAccountHolder, andfinancial_connections.SessionCreateParamsAccountHolder - Add support for
metadataonLineItemandcheckout.SessionCreateParamsLineItem - Add support for
payto_paymentsonAccount.Capability,AccountCreateParamsCapability, andAccountModifyParamsCapability - Add support for
signeronAccountCreateParamsDocumentProofOfRegistration,AccountCreateParamsDocumentProofOfUltimateBeneficialOwnership,AccountModifyParamsDocumentProofOfRegistration, andAccountModifyParamsDocumentProofOfUltimateBeneficialOwnership - Change
CustomerSessionCreateParams.customer,InvoiceItemCreateParams.customer,PaymentMethodAttachParams.customer,SubscriptionCreateParams.customer,billing.CreditBalanceSummaryRetrieveParams.customer,billing.CreditBalanceTransactionListParams.customer,billing.CreditGrantCreateParams.customer, andbilling_portal.SessionCreateParams.customerto be optional - Add support for
billing_cycle_anchoronBillingPortal.Configuration.Feature.SubscriptionUpdate,billing_portal.ConfigurationCreateParamsFeatureSubscriptionUpdate, andbilling_portal.ConfigurationModifyParamsFeatureSubscriptionUpdate - Add support for
paytoonCharge.PaymentMethodDetail,Checkout.Session.PaymentMethodOption,ConfirmationToken.PaymentMethodPreview,ConfirmationTokenCreateParamsPaymentMethodDatum,Invoice.PaymentSetting.PaymentMethodOption,InvoiceCreateParamsPaymentSettingPaymentMethodOption,InvoiceModifyParamsPaymentSettingPaymentMethodOption,Mandate.PaymentMethodDetail,PaymentAttemptRecord.PaymentMethodDetail,PaymentIntent.PaymentMethodOption,PaymentIntentConfirmParamsPaymentMethodDatum,PaymentIntentConfirmParamsPaymentMethodOption,PaymentIntentCreateParamsPaymentMethodDatum,PaymentIntentCreateParamsPaymentMethodOption,PaymentIntentModifyParamsPaymentMethodDatum,PaymentIntentModifyParamsPaymentMethodOption,PaymentMethodConfigurationCreateParams,PaymentMethodConfigurationModifyParams,PaymentMethodConfiguration,PaymentMethodCreateParams,PaymentMethodModifyParams,PaymentMethod,PaymentRecord.PaymentMethodDetail,SetupAttempt.PaymentMethodDetail,SetupIntent.PaymentMethodOption,SetupIntentConfirmParamsPaymentMethodDatum,SetupIntentConfirmParamsPaymentMethodOption,SetupIntentCreateParamsPaymentMethodDatum,SetupIntentCreateParamsPaymentMethodOption,SetupIntentModifyParamsPaymentMethodDatum,SetupIntentModifyParamsPaymentMethodOption,Subscription.PaymentSetting.PaymentMethodOption,SubscriptionCreateParamsPaymentSettingPaymentMethodOption,SubscriptionModifyParamsPaymentSettingPaymentMethodOption, andcheckout.SessionCreateParamsPaymentMethodOption - Add support for
expected_debit_dateonCharge.PaymentMethodDetail.AcssDebit,Charge.PaymentMethodDetail.AuBecsDebit,Charge.PaymentMethodDetail.BacsDebit,Charge.PaymentMethodDetail.NzBankAccount,Charge.PaymentMethodDetail.SepaDebit,Charge.PaymentMethodDetail.UsBankAccount,PaymentAttemptRecord.PaymentMethodDetail.AcssDebit,PaymentAttemptRecord.PaymentMethodDetail.AuBecsDebit,PaymentAttemptRecord.PaymentMethodDetail.BacsDebit,PaymentAttemptRecord.PaymentMethodDetail.NzBankAccount,PaymentAttemptRecord.PaymentMethodDetail.SepaDebit,PaymentAttemptRecord.PaymentMethodDetail.UsBankAccount,PaymentRecord.PaymentMethodDetail.AcssDebit,PaymentRecord.PaymentMethodDetail.AuBecsDebit,PaymentRecord.PaymentMethodDetail.BacsDebit,PaymentRecord.PaymentMethodDetail.NzBankAccount,PaymentRecord.PaymentMethodDetail.SepaDebit, andPaymentRecord.PaymentMethodDetail.UsBankAccount - Add support for new value
mollieon enumsCharge.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, andSetupIntentModifyParamsPaymentMethodDatumIdeal.bank - Add support for new value
MLLENL2Aon enumsCharge.PaymentMethodDetail.Ideal.bic,ConfirmationToken.PaymentMethodPreview.Ideal.bic,PaymentAttemptRecord.PaymentMethodDetail.Ideal.bic,PaymentMethod.Ideal.bic,PaymentRecord.PaymentMethodDetail.Ideal.bic, andSetupAttempt.PaymentMethodDetail.Ideal.bic - Add support for new value
paytoon enumsPaymentIntent.excluded_payment_method_types,PaymentIntentConfirmParams.excluded_payment_method_types,PaymentIntentCreateParams.excluded_payment_method_types,PaymentIntentModifyParams.excluded_payment_method_types,SetupIntent.excluded_payment_method_types,SetupIntentCreateParams.excluded_payment_method_types,SetupIntentModifyParams.excluded_payment_method_types, andcheckout.SessionCreateParams.excluded_payment_method_types - Add support for new value
paytoon enumcheckout.SessionCreateParams.payment_method_types - Add support for
line_itemsoncheckout.SessionModifyParams - Add support for new value
paytoon enumsConfirmationTokenCreateParamsPaymentMethodDatum.type,PaymentIntentConfirmParamsPaymentMethodDatum.type,PaymentIntentCreateParamsPaymentMethodDatum.type,PaymentIntentModifyParamsPaymentMethodDatum.type,SetupIntentConfirmParamsPaymentMethodDatum.type,SetupIntentCreateParamsPaymentMethodDatum.type, andSetupIntentModifyParamsPaymentMethodDatum.type - Add support for new value
paytoon enumsConfirmationToken.PaymentMethodPreview.typeandPaymentMethod.type - Add support for new value
paytoon enumsCustomerListPaymentMethodsParams.type,PaymentMethodCreateParams.type, andPaymentMethodListParams.type - Add support for
invoiceonCustomerListCustomerBalanceTransactionParams - Add support for
related_customer_accountonIdentity.VerificationSession,identity.VerificationSessionCreateParams, andidentity.VerificationSessionListParams - Change type of
InvoiceItem.Pricing.PriceDetail.priceandInvoiceLineItem.Pricing.PriceDetail.pricefromstringtoexpandable($Price) - Add support for new value
paytoon enumsInvoice.PaymentSetting.payment_method_types,InvoiceCreateParamsPaymentSetting.payment_method_types,InvoiceModifyParamsPaymentSetting.payment_method_types,Subscription.PaymentSetting.payment_method_types,SubscriptionCreateParamsPaymentSetting.payment_method_types, andSubscriptionModifyParamsPaymentSetting.payment_method_types - Add support for
subtotalonInvoiceLineItem - Add support for
authorization_code,description,iin,installments,issuer,network_advice_code,network_decline_code, andstored_credential_usageonPaymentAttemptRecord.PaymentMethodDetail.CardandPaymentRecord.PaymentMethodDetail.Card - Change
PaymentIntent.transfer_datato be optional - Add support for new value
paytoon enumsPaymentLink.payment_method_types,PaymentLinkCreateParams.payment_method_types, andPaymentLinkModifyParams.payment_method_types - Add support for
allow_redisplayonPaymentMethodListParams - Add support for
reported_byonPaymentRecord - Change
Product.tax_codeto be optional - Add support for new values
2025-12-15.cloverand2026-01-28.cloveron enumWebhookEndpointCreateParams.api_version - Add support for
changesonV2.Core.Event - Add support for error code
account_token_required_for_v2_accountonInvoice.LastFinalizationError,PaymentIntent.LastPaymentError,SetupAttempt.SetupError,SetupIntent.LastSetupError, andStripeError
- Add support for new resources
- #1692 Updated bundled CA certificates
- #1676 Add create_async method to EphemeralKey