Skip to content

Releases: stripe/stripe-node

v20.2.0-beta.2

08 Jan 21:32

Choose a tag to compare

v20.2.0-beta.2 Pre-release
Pre-release

This release is purely for pulling in fixes from the releases 20.1.1 and 20.1.2 into the public preview release.

See the changelog for more details.

v20.2.0-alpha.2

07 Jan 20:20

Choose a tag to compare

v20.2.0-alpha.2 Pre-release
Pre-release
  • #2537 Update generated code for private-preview
    • Add support for tracking_details on V2.MoneyManagement.OutboundPayment
    • Add support for paper_check on V2.MoneyManagement.OutboundPayment.delivery_options and V2.MoneyManagement.OutboundPaymentCreateParams.delivery_options
    • Add support for event notification V2CoreAccountIncludingFutureRequirementsUpdatedEvent with related object V2.Core.Account
    • Add support for error code account_rate_limit_exceeded on RateLimitError
  • #2524 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 Checkout.SessionCreateParams.line_items[].price_data.product_data.tax_details, Checkout.SessionUpdateParams.line_items[].price_data.product_data.tax_details, InvoiceAddLinesParams.lines[].price_data.product_data.tax_details, InvoiceLineItemUpdateParams.price_data.product_data.tax_details, InvoiceUpdateLinesParams.lines[].price_data.product_data.tax_details, PaymentLinkCreateParams.line_items[].price_data.product_data.tax_details, ProductCreateParams.tax_details, ProductUpdateParams.tax_details, Tax.CalculationCreateParams.line_items[], and Tax.CalculationLineItem
    • Add support for new value performance on enums Tax.Calculation.shipping_cost.tax_breakdown[].sourcing, Tax.CalculationLineItem.tax_breakdown[].sourcing, and Tax.Transaction.shipping_cost.tax_breakdown[].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.shipping_cost.tax_breakdown[].tax_rate_details.tax_type, Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type, Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type, and Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type
    • Change type of DelegatedCheckout.RequestedSessionUpdateParams.metadata from map(string: string) to emptyable(map(string: string))
    • Change type of DelegatedCheckout.RequestedSessionUpdateParams.payment_method_data from payment_method_data to emptyable(payment_method_data)
    • Change type of DelegatedCheckout.RequestedSessionUpdateParams.shared_metadata from map(string: string) to emptyable(map(string: string))
    • Add support for subscription on Invoice.parent.schedule_details and QuotePreviewInvoice.parent.schedule_details
    • Change type of PaymentIntentConfirmParams.payment_details.benefit.fr_meal_voucher, PaymentIntentCreateParams.payment_details.benefit.fr_meal_voucher, PaymentIntentUpdateParams.payment_details.benefit.fr_meal_voucher, SetupIntentConfirmParams.setup_details.benefit.fr_meal_voucher, SetupIntentCreateParams.setup_details.benefit.fr_meal_voucher, and SetupIntentUpdateParams.setup_details.benefit.fr_meal_voucher from payment_details_benefit_fr_meal_voucher to emptyable(payment_details_benefit_fr_meal_voucher)
    • Add support for tax_details on PlanCreateParams.product[0] and PriceCreateParams.product_data
    • Add support for external_reference on Plan and Price
    • Add support for new value phase_start on enums Quote.subscription_data.phase_effective_at, Quote.subscription_data_overrides[].phase_effective_at, QuoteCreateParams.subscription_data.phase_effective_at, QuoteCreateParams.subscription_data_overrides[].phase_effective_at, QuoteUpdateParams.subscription_data.phase_effective_at, and QuoteUpdateParams.subscription_data_overrides[].phase_effective_at
    • Remove support for value line_start from enums Quote.subscription_data.phase_effective_at, Quote.subscription_data_overrides[].phase_effective_at, QuoteCreateParams.subscription_data.phase_effective_at, QuoteCreateParams.subscription_data_overrides[].phase_effective_at, QuoteUpdateParams.subscription_data.phase_effective_at, and QuoteUpdateParams.subscription_data_overrides[].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.country_options.us.type and Tax.RegistrationCreateParams.country_options.us.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.country_options.us
    • Add support for requirements on TaxCode

See the changelog for more details.

v20.1.2

07 Jan 17:52

Choose a tag to compare

  • #2542 Fix content length calculations for multipart file uploads. This fixes the bug reported in 2538 around file uploads.
  • #2539 Delete API_VERSION file as it is no longer needed

See the changelog for more details.

v20.1.1

06 Jan 18:42

Choose a tag to compare

  • #2535 Update qs dependency to latest version

See the changelog for more details.

v20.2.0-beta.1

16 Dec 19:53

Choose a tag to compare

v20.2.0-beta.1 Pre-release
Pre-release

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

  • #2498 Add EventNotificationHandler
  • #2509 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.payment_method_preview.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.customer_account, and TaxId.owner.customer_account to be required
    • Change type of V2.FinancialAddressGeneratedMicrodeposits.amounts from amount to an object
    • Change type of Checkout.SessionCreateParams.payment_method_options.payto.mandate_options.amount, PaymentIntentConfirmParams.payment_method_options.payto.mandate_options.amount, PaymentIntentCreateParams.payment_method_options.payto.mandate_options.amount, PaymentIntentUpdateParams.payment_method_options.payto.mandate_options.amount, SetupIntentConfirmParams.payment_method_options.payto.mandate_options.amount, SetupIntentCreateParams.payment_method_options.payto.mandate_options.amount, and SetupIntentUpdateParams.payment_method_options.payto.mandate_options.amount from longInteger to emptyable(longInteger)
    • Change type of Checkout.SessionCreateParams.payment_method_options.payto.mandate_options.amount_type, PaymentIntentConfirmParams.payment_method_options.payto.mandate_options.amount_type, PaymentIntentCreateParams.payment_method_options.payto.mandate_options.amount_type, PaymentIntentUpdateParams.payment_method_options.payto.mandate_options.amount_type, SetupIntentConfirmParams.payment_method_options.payto.mandate_options.amount_type, SetupIntentCreateParams.payment_method_options.payto.mandate_options.amount_type, and SetupIntentUpdateParams.payment_method_options.payto.mandate_options.amount_type from enum('fixed'|'maximum') to emptyable(enum('fixed'|'maximum'))
    • Change type of Checkout.SessionCreateParams.payment_method_options.payto.mandate_options.end_date, PaymentIntentConfirmParams.payment_method_options.payto.mandate_options.end_date, PaymentIntentCreateParams.payment_method_options.payto.mandate_options.end_date, PaymentIntentUpdateParams.payment_method_options.payto.mandate_options.end_date, SetupIntentConfirmParams.payment_method_options.payto.mandate_options.end_date, SetupIntentCreateParams.payment_method_options.payto.mandate_options.end_date, and SetupIntentUpdateParams.payment_method_options.payto.mandate_options.end_date from string to emptyable(string)
    • Change type of Checkout.SessionCreateParams.payment_method_options.payto.mandate_options.payment_schedule, PaymentIntentConfirmParams.payment_method_options.payto.mandate_options.payment_schedule, PaymentIntentCreateParams.payment_method_options.payto.mandate_options.payment_schedule, PaymentIntentUpdateParams.payment_method_options.payto.mandate_options.payment_schedule, SetupIntentConfirmParams.payment_method_options.payto.mandate_options.payment_schedule, SetupIntentCreateParams.payment_method_options.payto.mandate_options.payment_schedule, and SetupIntentUpdateParams.payment_method_options.payto.mandate_options.payment_schedule from enum to emptyable(enum)
    • Change type of Checkout.SessionCreateParams.payment_method_options.payto.mandate_options.payments_per_period, PaymentIntentConfirmParams.payment_method_options.payto.mandate_options.payments_per_period, PaymentIntentCreateParams.payment_method_options.payto.mandate_options.payments_per_period, PaymentIntentUpdateParams.payment_method_options.payto.mandate_options.payments_per_period, SetupIntentConfirmParams.payment_method_options.payto.mandate_options.payments_per_period, SetupIntentCreateParams.payment_method_options.payto.mandate_options.payments_per_period, and SetupIntentUpdateParams.payment_method_options.payto.mandate_options.payments_per_period from longInteger to emptyable(longInteger)
    • Change type of Checkout.SessionCreateParams.payment_method_options.payto.mandate_options.purpose, PaymentIntentConfirmParams.payment_method_options.payto.mandate_options.purpose, PaymentIntentCreateParams.payment_method_options.payto.mandate_options.purpose, PaymentIntentUpdateParams.payment_method_options.payto.mandate_options.purpose, SetupIntentConfirmParams.payment_method_options.payto.mandate_options.purpose, SetupIntentCreateParams.payment_method_options.payto.mandate_options.purpose, and SetupIntentUpdateParams.payment_method_options.payto.mandate_options.purpose from enum to emptyable(enum)
    • Change type of Checkout.SessionCreateParams.payment_method_options.payto.mandate_options.start_date, SetupIntentConfirmParams.payment_method_options.payto.mandate_options.start_date, SetupIntentCreateParams.payment_method_options.payto.mandate_options.start_date, and SetupIntentUpdateParams.payment_method_options.payto.mandate_options.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.payment_settings.payment_method_options
    • Add support for new value payto on enum QuotePreviewInvoice.payment_settings.payment_method_types
    • Remove support for requested on V2.Core.Account.configuration.customer.capabilities.automatic_indirect_tax, V2.Core.Account.configuration.merchant.capabilities.ach_debit_payments, V2.Core.Account.configuration.merchant.capabilities.acss_debit_payments, V2.Core.Account.configuration.merchant.capabilities.affirm_payments, V2.Core.Account.configuration.merchant.capabilities.afterpay_clearpay_payments, V2.Core.Account.configuration.merchant.capabilities.alma_payments, V2.Core.Account.configuration.merchant.capabilities.amazon_pay_payments, V2.Core.Account.configuration.merchant.capabilities.au_becs_debit_payments, V2.Core.Account.configuration.merchant.capabilities.bacs_debit_payments, V2.Core.Account.configuration.merchant.capabilities.bancontact_payments, V2.Core.Account.configuration.merchant.capabilities.blik_payments, V2.Core.Account.configuration.merchant.capabilities.boleto_payments, V2.Core.Account.configuration.merchant.capabilities.card_payments, V2.Core.Account.configuration.merchant.capabilities.cartes_bancaires_payments, V2.Core.Account.configuration.merchant.capabilities.cashapp_payments, V2.Core.Account.configuration.merchant.capabilities.eps_payments, V2.Core.Account.configuration.merchant.capabilities.fpx_payments, V2.Core.Account.configuration.merchant.capabilities.gb_bank_transfer_payments, V2.Core.Account.configuration.merchant.capabilities.grabpay_payments, V2.Core.Account.configuration.merchant.capabilities.ideal_payments, V2.Core.Account.configuration.merchant.capabilities.jcb_payments, V2.Core.Account.configuration.merchant.capabilities.jp_bank_transfer_payments, V2.Core.Account.configuration.merchant.capabilities.kakao_pay_payments, V2.Core.Account.configuration.merchant.capabilities.klarna_payments, V2.Core.Account.configuration.merchant.capabilities.konbini_payments, V2.Core.Account.configuration.merchant.capabilities.kr_card_payments, V2.Core.Account.configuration.merchant.capabilities.link_payments, V2.Core.Account.configuration.merchant.capabilities.mobilepay_payments, V2.Core.Account.configuration.merchant.capabilities.multibanco_payments, V2.Core.Account.configuration.merchant.capabilities.mx_bank_transfer_payments, V2.Core.Account.configuration.merchant.capabilities.naver_pay_payments, V2.Core.Account.configuration.merchant.capabilities.oxxo_payments, V2.Core.Account.configuration.merchant.capabilities.p24_payments, V2.Core.Account.configuration.merchant.capabilities.pay_by_bank_payments, V2.Core.Account.configuration.merchant.capabilities.payco_payments, V2.Core.Account.configuration.merchant.capabilities.paynow_payments, V2.Core.Account.configuration.merchant.capabilities.promptpay_payments, V2.Core.Account.configuration.merchant.capabilities.revolut_pay_payments, V2.Core.Account.configuration.merchant.capabilities.samsung_pay_payments, V2.Core.Account.configuration.merchant.capabilities.sepa_bank_transfer_payments, V2.Core.Account.configuration.merchant.capabilities.sepa_debit_payments, V2.Core.Account.configuration.merchant.capabilities.stripe_balance.payouts, V2.Core.Account.configuration.merchant.capabilities.swish_payments, V2.Core.Account.configuration.merchant.capabilities.twint_payments, V2.Core.Account.configuration.merchant.capabilities.us_bank_transfer_payments, V2.Core.Account.configuration.merchant.capabilities.zip_payments, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.local, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.wire, V2.Core.Account.configuration.recipient.capabilities.cards, V2.Core.Account.configuration.recipient.capabilities.stripe_balance.payouts,...
Read more

v20.1.0

16 Dec 19:47

Choose a tag to compare

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

  • #2522 Update generated code
    • Add support for new resources V2.Core.AccountLink, V2.Core.AccountPersonToken, V2.Core.AccountPerson, V2.Core.AccountToken, and V2.Core.Account
    • Add support for create and retrieve methods on resources V2.Core.AccountPersonToken and V2.Core.AccountToken
    • Add support for create method on resource V2.Core.AccountLink
    • Add support for close, create, list, retrieve, and update methods on resource V2.Core.Account
    • Add support for create, del, list, retrieve, and update methods on resource V2.Core.AccountPerson
    • Add support for payto_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for signer on AccountCreateParams.documents.proof_of_registration, AccountCreateParams.documents.proof_of_ultimate_beneficial_ownership, AccountUpdateParams.documents.proof_of_registration, and AccountUpdateParams.documents.proof_of_ultimate_beneficial_ownership
    • Add support for customer_account on Billing.CreditBalanceSummaryRetrieveParams, Billing.CreditBalanceSummary, Billing.CreditBalanceTransactionListParams, Billing.CreditGrantCreateParams, Billing.CreditGrantListParams, Billing.CreditGrant, BillingPortal.SessionCreateParams, BillingPortal.Session, CashBalance, Checkout.SessionCreateParams, Checkout.SessionListParams, Checkout.Session, ConfirmationToken.payment_method_preview, CreditNoteListParams, CreditNote, CustomerBalanceTransaction, CustomerCashBalanceTransaction, CustomerSessionCreateParams, CustomerSession, Customer, Discount, FinancialConnections.Account.account_holder, FinancialConnections.AccountListParams.account_holder, FinancialConnections.Session.account_holder, FinancialConnections.SessionCreateParams.account_holder, InvoiceCreateParams, InvoiceCreatePreviewParams, InvoiceItemCreateParams, InvoiceItemListParams, InvoiceItem, InvoiceListParams, Invoice, PaymentIntentCreateParams, PaymentIntentListParams, PaymentIntentUpdateParams, PaymentIntent, PaymentMethodAttachParams, PaymentMethodListParams, PaymentMethod, PromotionCodeCreateParams, PromotionCodeListParams, PromotionCode, QuoteCreateParams, QuoteListParams, QuoteUpdateParams, Quote, SetupAttempt, SetupIntentCreateParams, SetupIntentListParams, SetupIntentUpdateParams, SetupIntent, SubscriptionCreateParams, SubscriptionListParams, SubscriptionScheduleCreateParams, SubscriptionScheduleListParams, SubscriptionSchedule, Subscription, TaxId.owner, TaxIdCreateParams.owner, TaxIdListParams.owner, and TaxId
    • Add support for metadata on Checkout.SessionCreateParams.line_items[] and LineItem
    • Change Billing.CreditBalanceSummaryRetrieveParams.customer, Billing.CreditBalanceTransactionListParams.customer, Billing.CreditGrantCreateParams.customer, BillingPortal.SessionCreateParams.customer, CustomerSessionCreateParams.customer, InvoiceItemCreateParams.customer, PaymentMethodAttachParams.customer, and SubscriptionCreateParams.customer to be optional
    • Add support for billing_cycle_anchor on BillingPortal.Configuration.features.subscription_update, BillingPortal.ConfigurationCreateParams.features.subscription_update, and BillingPortal.ConfigurationUpdateParams.features.subscription_update
    • Add support for payto on Charge.payment_method_details, Checkout.Session.payment_method_options, Checkout.SessionCreateParams.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.testHelpers.payment_method_data, Invoice.payment_settings.payment_method_options, InvoiceCreateParams.payment_settings.payment_method_options, InvoiceUpdateParams.payment_settings.payment_method_options, Mandate.payment_method_details, PaymentAttemptRecord.payment_method_details, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethodUpdateParams, PaymentMethod, PaymentRecord.payment_method_details, SetupAttempt.payment_method_details, SetupIntent.payment_method_options, SetupIntentConfirmParams.payment_method_data, SetupIntentConfirmParams.payment_method_options, SetupIntentCreateParams.payment_method_data, SetupIntentCreateParams.payment_method_options, SetupIntentUpdateParams.payment_method_data, SetupIntentUpdateParams.payment_method_options, Subscription.payment_settings.payment_method_options, SubscriptionCreateParams.payment_settings.payment_method_options, and SubscriptionUpdateParams.payment_settings.payment_method_options
    • Add support for expected_debit_date on Charge.payment_method_details.acss_debit, Charge.payment_method_details.au_becs_debit, Charge.payment_method_details.bacs_debit, Charge.payment_method_details.nz_bank_account, Charge.payment_method_details.sepa_debit, Charge.payment_method_details.us_bank_account, PaymentAttemptRecord.payment_method_details.acss_debit, PaymentAttemptRecord.payment_method_details.au_becs_debit, PaymentAttemptRecord.payment_method_details.bacs_debit, PaymentAttemptRecord.payment_method_details.nz_bank_account, PaymentAttemptRecord.payment_method_details.sepa_debit, PaymentAttemptRecord.payment_method_details.us_bank_account, PaymentRecord.payment_method_details.acss_debit, PaymentRecord.payment_method_details.au_becs_debit, PaymentRecord.payment_method_details.bacs_debit, PaymentRecord.payment_method_details.nz_bank_account, PaymentRecord.payment_method_details.sepa_debit, and PaymentRecord.payment_method_details.us_bank_account
    • Add support for new value mollie on enums Charge.payment_method_details.ideal.bank, ConfirmationToken.payment_method_preview.ideal.bank, ConfirmationTokenCreateParams.testHelpers.payment_method_data.ideal.bank, PaymentAttemptRecord.payment_method_details.ideal.bank, PaymentIntentConfirmParams.payment_method_data.ideal.bank, PaymentIntentCreateParams.payment_method_data.ideal.bank, PaymentIntentUpdateParams.payment_method_data.ideal.bank, PaymentMethod.ideal.bank, PaymentMethodCreateParams.ideal.bank, PaymentRecord.payment_method_details.ideal.bank, SetupAttempt.payment_method_details.ideal.bank, SetupIntentConfirmParams.payment_method_data.ideal.bank, SetupIntentCreateParams.payment_method_data.ideal.bank, and SetupIntentUpdateParams.payment_method_data.ideal.bank
    • Add support for new value MLLENL2A on enums Charge.payment_method_details.ideal.bic, ConfirmationToken.payment_method_preview.ideal.bic, PaymentAttemptRecord.payment_method_details.ideal.bic, PaymentMethod.ideal.bic, PaymentRecord.payment_method_details.ideal.bic, and SetupAttempt.payment_method_details.ideal.bic
    • Add support for new value payto on enums Checkout.SessionCreateParams.excluded_payment_method_types, PaymentIntent.excluded_payment_method_types, PaymentIntentConfirmParams.excluded_payment_method_types, PaymentIntentCreateParams.excluded_payment_method_types, PaymentIntentUpdateParams.excluded_payment_method_types, SetupIntent.excluded_payment_method_types, SetupIntentCreateParams.excluded_payment_method_types, and SetupIntentUpdateParams.excluded_payment_method_types
    • Add support for new value payto on enum Checkout.SessionCreateParams.payment_method_types
    • Add support for line_items on Checkout.SessionUpdateParams
    • Add support for new value payto on enums ConfirmationTokenCreateParams.testHelpers.payment_method_data.type, PaymentIntentConfirmParams.payment_method_data.type, PaymentIntentCreateParams.payment_method_data.type, PaymentIntentUpdateParams.payment_method_data.type, SetupIntentConfirmParams.payment_method_data.type, SetupIntentCreateParams.payment_method_data.type, and SetupIntentUpdateParams.payment_method_data.type
    • Add support for new value payto on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Add support for new value payto on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
    • Add support for invoice on CustomerListCustomerBalanceTransactionsParams
    • Add support for related_customer_account on Identity.VerificationSessionCreateParams, Identity.VerificationSessionListParams, and Identity.VerificationSession
    • Change type of InvoiceItem.pricing.price_details.price and InvoiceLineItem.pricing.price_details.price from string to expandable(Price)
    • Add support for new value payto on enums Invoice.payment_settings.payment_method_types, InvoiceCreateParams.payment_settings.payment_method_types, InvoiceUpdateParams.payment_settings.payment_method_types, Subscription.payment_settings.payment_method_types, SubscriptionCreateParams.payment_settings.payment_method_types, and SubscriptionUpdateParams.payment_settings.payment_method_types
    • Add support for subtotal on InvoiceLineItem
    • Add support for authorization_code, description, iin, installments, issuer, network_advice_code, network_decline_code, and stored_credential_usage on PaymentAttemptRecord.payment_method_details.card and PaymentRecord.payment_method_details.card
    • Change PaymentIntent.transfer_data to be optional
    • Add support for new value payto on enums `PaymentLink.payment_method...
Read more

v20.2.0-alpha.1

14 Dec 23:53

Choose a tag to compare

v20.2.0-alpha.1 Pre-release
Pre-release
  • #2520 Update generated code for private-preview
    • Add support for new resources SharedPayment.GrantedToken, V2.Iam.ApiKey, V2.Payments.SettlementAllocationIntentSplit, V2.Payments.SettlementAllocationIntent, and V2.Tax.ManualRule
    • Add support for retrieve method on resource SharedPayment.GrantedToken
    • Add support for create and update test helper methods on resource SharedPayment.GrantedToken
    • Add support for create, deactivate, list, retrieve, and update methods on resource V2.Tax.ManualRule
    • Add support for cancel, create, retrieve, submit, and update methods on resource V2.Payments.SettlementAllocationIntent
    • Add support for cancel, create, and retrieve methods on resource V2.Payments.SettlementAllocationIntentSplit
    • Add support for create, expire, list, retrieve, rotate, and update methods on resource V2.Iam.ApiKey
    • Add support for check_scanning on AccountSessionCreateParams.components
    • Add support for tax_details on Checkout.SessionCreateParams.line_items[].price_data.product_data, Checkout.SessionUpdateParams.line_items[].price_data.product_data, InvoiceAddLinesParams.lines[].price_data.product_data, InvoiceLineItemUpdateParams.price_data.product_data, InvoiceUpdateLinesParams.lines[].price_data.product_data, PaymentLinkCreateParams.line_items[].price_data.product_data, ProductCreateParams, and ProductUpdateParams
    • Add support for payment_method_data on DelegatedCheckout.RequestedSessionConfirmParams
    • Add support for product_details on DelegatedCheckout.RequestedSession.line_item_details[]
    • Add support for wallets on Issuing.CardListParams
    • Add support for primary_account_identifier on Issuing.Card.wallets.apple_pay and Issuing.Card.wallets.google_pay
    • Add support for shared_payment_granted_token on PaymentIntentConfirmParams, PaymentIntentCreateParams, and PaymentIntent
    • Change ProductCatalog.TrialOffer.duration.relative to be optional
    • Add support for new values al_bank_account, am_bank_account, bn_bank_account, bw_bank_account, dz_bank_account, gy_bank_account, jm_bank_account, jo_bank_account, kw_bank_account, lk_bank_account, ma_bank_account, om_bank_account, and tz_bank_account on enum V2.Account.configuration.recipient_data.default_outbound_destination.type
    • Add support for instant on V2.Account.configuration.recipient_data.features.bank_accounts, V2.AccountCreateParams.configuration.recipient_data.features.bank_accounts, V2.AccountUpdateParams.configuration.recipient_data.features.bank_accounts, V2.Core.Account.configuration.recipient.capabilities.bank_accounts, V2.Core.AccountCreateParams.configuration.recipient.capabilities.bank_accounts, and V2.Core.AccountUpdateParams.configuration.recipient.capabilities.bank_accounts
    • Add support for new value bank_accounts.instant on enum V2.Account.requirements[].impact.required_for_features
    • Add support for collect_at on V2.Billing.IntentAction.deactivate, V2.Billing.IntentAction.modify, V2.Billing.IntentAction.subscribe, V2.Billing.IntentCreateParams.actions[].deactivate, V2.Billing.IntentCreateParams.actions[].modify, and V2.Billing.IntentCreateParams.actions[].subscribe
    • Remove support for billing_details on V2.Billing.IntentAction.deactivate, V2.Billing.IntentAction.modify, V2.Billing.IntentAction.subscribe, V2.Billing.IntentCreateParams.actions[].deactivate, V2.Billing.IntentCreateParams.actions[].modify, and V2.Billing.IntentCreateParams.actions[].subscribe
    • Add support for overrides on V2.Billing.IntentAction.deactivate.pricing_plan_subscription_details, V2.Billing.IntentAction.modify.pricing_plan_subscription_details, V2.Billing.IntentAction.subscribe.pricing_plan_subscription_details, V2.Billing.IntentCreateParams.actions[].deactivate.pricing_plan_subscription_details, V2.Billing.IntentCreateParams.actions[].modify.pricing_plan_subscription_details, and V2.Billing.IntentCreateParams.actions[].subscribe.pricing_plan_subscription_details
    • Remove support for requested on V2.Core.Account.configuration.card_creator.capabilities.commercial.celtic.charge_card, V2.Core.Account.configuration.card_creator.capabilities.commercial.celtic.spend_card, V2.Core.Account.configuration.card_creator.capabilities.commercial.cross_river_bank.charge_card, V2.Core.Account.configuration.card_creator.capabilities.commercial.cross_river_bank.spend_card, V2.Core.Account.configuration.card_creator.capabilities.commercial.lead.prepaid_card, V2.Core.Account.configuration.card_creator.capabilities.commercial.stripe.charge_card, V2.Core.Account.configuration.card_creator.capabilities.commercial.stripe.prepaid_card, V2.Core.Account.configuration.recipient.capabilities.crypto_wallets, V2.Core.Account.configuration.storer.capabilities.financial_addresses.crypto_wallets, V2.Core.Account.configuration.storer.capabilities.holds_currencies.usdc, V2.Core.Account.configuration.storer.capabilities.outbound_payments.crypto_wallets, and V2.Core.Account.configuration.storer.capabilities.outbound_transfers.crypto_wallets
    • Add support for new value bank_accounts.instant on enums V2.Core.Account.future_requirements.entries[].impact.restricts_capabilities[].capability and V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability
    • Add support for alternative_reference on V2.Core.Vault.GbBankAccount, V2.Core.Vault.UsBankAccount, and V2.MoneyManagement.PayoutMethod
    • Add support for managed_by and payments on V2.MoneyManagement.FinancialAccount
    • Add support for new value payments on enum V2.MoneyManagement.FinancialAccount.type
    • Add support for speed on V2.MoneyManagement.OutboundPayment.delivery_options, V2.MoneyManagement.OutboundPaymentCreateParams.delivery_options, V2.MoneyManagement.OutboundPaymentQuote.delivery_options, and V2.MoneyManagement.OutboundPaymentQuoteCreateParams.delivery_options
    • Add support for new value real_time_payout_fee on enum V2.MoneyManagement.OutboundPaymentQuote.estimated_fees[].type
    • Add support for types on V2.MoneyManagement.FinancialAccountListParams
    • Change type of V2.Core.AccountListParams.applied_configurations from string to enum
    • Add support for new value bank_accounts.instant on enum EventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updated_capability
    • Add support for top_impacted_accounts on EventsV2CoreHealthApiErrorFiringEvent.impact, EventsV2CoreHealthApiErrorResolvedEvent.impact, EventsV2CoreHealthApiLatencyFiringEvent.impact, EventsV2CoreHealthApiLatencyResolvedEvent.impact, EventsV2CoreHealthPaymentMethodErrorFiringEvent.impact, and EventsV2CoreHealthPaymentMethodErrorResolvedEvent.impact
    • Add support for event notifications V2CoreHealthSepaDebitDelayedFiringEvent, V2CoreHealthSepaDebitDelayedResolvedEvent, and V2PaymentsSettlementAllocationIntentNotFoundEvent
    • Add support for event notifications V2PaymentsSettlementAllocationIntentCanceledEvent, V2PaymentsSettlementAllocationIntentCreatedEvent, V2PaymentsSettlementAllocationIntentErroredEvent, V2PaymentsSettlementAllocationIntentFundsNotReceivedEvent, V2PaymentsSettlementAllocationIntentMatchedEvent, V2PaymentsSettlementAllocationIntentSettledEvent, and V2PaymentsSettlementAllocationIntentSubmittedEvent with related object V2.Payments.SettlementAllocationIntent
    • Add support for event notifications V2PaymentsSettlementAllocationIntentSplitCanceledEvent, V2PaymentsSettlementAllocationIntentSplitCreatedEvent, and V2PaymentsSettlementAllocationIntentSplitSettledEvent with related object V2.Payments.SettlementAllocationIntentSplit
    • Remove support for error code account_rate_limit_exceeded on RateLimitError

See the changelog for more details.

v20.1.0-alpha.4

04 Dec 17:43

Choose a tag to compare

v20.1.0-alpha.4 Pre-release
Pre-release
  • #2519 Update generated code for private-preview
    • Add support for event notifications V2IamApiKeyCreatedEvent, V2IamApiKeyDefaultSecretRevealedEvent, V2IamApiKeyExpiredEvent, V2IamApiKeyPermissionsUpdatedEvent, V2IamApiKeyRotatedEvent, and V2IamApiKeyUpdatedEvent
  • #2517 Update generated code for private-preview
    • Add support for check_scanning on AccountSession.components
    • Add support for client on V2.Core.Event.reason.request
    • Add support for stripe_balance_payment on V2.MoneyManagement.ReceivedCredit and V2.MoneyManagement.ReceivedDebit
    • Add support for new value stripe_balance_payment on enum V2.MoneyManagement.ReceivedCredit.type
    • Add support for balance_transfer on V2.MoneyManagement.ReceivedDebit
    • Add support for new values balance_transfer and stripe_balance_payment on enum V2.MoneyManagement.ReceivedDebit.type
    • Add support for include on V2.Core.EventListParams and V2.Core.EventRetrieveParams

See the changelog for more details.

v20.1.0-alpha.3

24 Nov 18:11

Choose a tag to compare

v20.1.0-alpha.3 Pre-release
Pre-release
  • #2512 Update generated code for private-preview
    • Add support for new resource ProductCatalog.TrialOffer
    • Add support for create method on resource ProductCatalog.TrialOffer
    • Remove support for amount_subtotal_after_discount on DelegatedCheckout.RequestedSession.line_item_details[] and DelegatedCheckout.RequestedSession.total_details
    • Remove support for amount_total, unit_amount_after_discount, and unit_discount on DelegatedCheckout.RequestedSession.line_item_details[]
    • Add support for amount_cart_discount and amount_items_discount on DelegatedCheckout.RequestedSession.total_details
    • Remove support for amount_discount on DelegatedCheckout.RequestedSession.total_details
    • Add support for payments_orchestration on PaymentIntentCreateParams and PaymentIntent

See the changelog for more details.

v20.1.0-alpha.2

20 Nov 23:24

Choose a tag to compare

v20.1.0-alpha.2 Pre-release
Pre-release

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

  • #2510 Update generated code for private-preview
    • Add support for new resources V2.Core.AccountPersonToken, V2.Core.AccountToken, and V2.MoneyManagement.CurrencyConversion
    • Add support for create, list, and retrieve methods on resource V2.MoneyManagement.CurrencyConversion
    • Add support for create and retrieve methods on resources V2.Core.AccountPersonToken and V2.Core.AccountToken
    • Add support for effective_at on InvoiceCreatePreviewParams.schedule_details.amendments[], InvoiceCreatePreviewParams.schedule_details.phases[], QuoteCreateParams.lines[], QuoteLine, QuotePreviewSubscriptionSchedule.phases[], QuoteUpdateParams.lines[], SubscriptionSchedule.phases[], SubscriptionScheduleAmendParams.amendments[], SubscriptionScheduleCreateParams.phases[], and SubscriptionScheduleUpdateParams.phases[]
    • Add support for trial_offer on InvoiceCreatePreviewParams.schedule_details.amendments[].item_actions[].add, InvoiceCreatePreviewParams.schedule_details.amendments[].item_actions[].set, InvoiceCreatePreviewParams.schedule_details.phases[].items[], QuoteCreateParams.lines[].actions[].add_item, QuoteCreateParams.lines[].actions[].set_items[], QuoteLine.actions[].add_item, QuoteLine.actions[].set_items[], QuotePreviewSubscriptionSchedule.phases[].items[], QuoteUpdateParams.lines[].actions[].add_item, QuoteUpdateParams.lines[].actions[].set_items[], SubscriptionSchedule.phases[].items[], SubscriptionScheduleAmendParams.amendments[].item_actions[].add, SubscriptionScheduleAmendParams.amendments[].item_actions[].set, SubscriptionScheduleCreateParams.phases[].items[], and SubscriptionScheduleUpdateParams.phases[].items[]
    • Change type of DelegatedCheckout.RequestedSession.amount_subtotal from longInteger to longInteger | null
    • Change type of DelegatedCheckout.RequestedSession.amount_total from longInteger to longInteger | null
    • Add support for amount_discount, amount_subtotal, amount_total, unit_amount_after_discount, and unit_discount on DelegatedCheckout.RequestedSession.line_item_details[]
    • Add support for amount_subtotal_after_discount on DelegatedCheckout.RequestedSession.line_item_details[] and DelegatedCheckout.RequestedSession.total_details
    • Change type of InvoiceCreatePreviewParams.schedule_details.billing_schedules from array(billing_schedules_update_params) to emptyable(array(billing_schedules_update_params))
    • Remove support for values amendment_end, line_ends_at, schedule_end, and upcoming_invoice from enums InvoiceCreatePreviewParams.subscription_details.billing_schedules[].bill_until.type, Subscription.billing_schedules[].bill_until.type, SubscriptionCreateParams.billing_schedules[].bill_until.type, SubscriptionScheduleCreateParams.billing_schedules[].bill_until.type, SubscriptionScheduleUpdateParams.billing_schedules[].bill_until.type, and SubscriptionUpdateParams.billing_schedules[].bill_until.type
    • Add support for current_trial on InvoiceCreatePreviewParams.subscription_details.items[], SubscriptionCreateParams.items[], SubscriptionItemCreateParams, SubscriptionItemUpdateParams, SubscriptionItem, and SubscriptionUpdateParams.items[]
    • Change type of QuoteCreateParams.subscription_data.billing_schedules and QuoteCreateParams.subscription_data_overrides[].billing_schedules from emptyable(array(billing_schedules_create_specs)) to array(billing_schedules_create_specs)
    • Add support for new value line_start on enums QuoteCreateParams.subscription_data.phase_effective_at, QuoteCreateParams.subscription_data_overrides[].phase_effective_at, QuoteUpdateParams.subscription_data.phase_effective_at, and QuoteUpdateParams.subscription_data_overrides[].phase_effective_at
    • Remove support for value phase_start from enums QuoteCreateParams.subscription_data.phase_effective_at, QuoteCreateParams.subscription_data_overrides[].phase_effective_at, QuoteUpdateParams.subscription_data.phase_effective_at, and QuoteUpdateParams.subscription_data_overrides[].phase_effective_at
    • Change type of Quote.subscription_data.billing_schedules and Quote.subscription_data_overrides[].billing_schedules from array(SubscriptionsResourceBillingSchedules) | null to array(QuotesResourceSubscriptionDataBillingSchedules)
    • Change type of Quote.subscription_data.phase_effective_at and Quote.subscription_data_overrides[].phase_effective_at from enum('billing_period_start'|'phase_start') | null to enum('billing_period_start'|'line_start')
    • Change type of QuotePreviewSubscriptionSchedule.default_settings.phase_effective_at and SubscriptionSchedule.default_settings.phase_effective_at from enum('billing_period_start'|'phase_start') | null to enum('billing_period_start'|'phase_start')
    • Change type of QuotePreviewSubscriptionSchedule.billing_schedules and SubscriptionSchedule.billing_schedules from array(SubscriptionsResourceBillingSchedules) | null to array(SubscriptionsResourceBillingSchedules)
    • Remove support for amendment_start, line_starts_at, and relative on Subscription.billing_schedules[].bill_from
    • Change type of Subscription.billing_schedules[].bill_from.computed_timestamp from DateTime | null to DateTime
    • Change type of Subscription.billing_schedules[].bill_from.type from enum to literal('timestamp')
    • Remove support for amendment_end and line_ends_at on Subscription.billing_schedules[].bill_until
    • Change type of V2.Billing.ServiceAction.credit_grant.amount.monetary, V2.Billing.ServiceAction.credit_grant_per_tenant.amount.monetary, V2.Billing.ServiceActionCreateParams.credit_grant.amount.monetary, and V2.Billing.ServiceActionCreateParams.credit_grant_per_tenant.amount.monetary from amount to an object
    • Add support for future_requirements on V2.Core.Account
    • Add support for konbini_payments and script_statement_descriptor on V2.Core.Account.configuration.merchant, V2.Core.AccountCreateParams.configuration.merchant, and V2.Core.AccountUpdateParams.configuration.merchant
    • Add support for eur on V2.Core.Account.configuration.storer.capabilities.holds_currencies, V2.Core.AccountCreateParams.configuration.storer.capabilities.holds_currencies, and V2.Core.AccountUpdateParams.configuration.storer.capabilities.holds_currencies
    • Add support for requirements_collector on V2.Core.Account.defaults.responsibilities
    • Add support for new value ar_cuit on enums V2.Core.Account.identity.business_details.id_numbers[].type, V2.Core.AccountCreateParams.identity.business_details.id_numbers[].type, and V2.Core.AccountUpdateParams.identity.business_details.id_numbers[].type
    • Add support for new value ar_dni on enums V2.Core.Account.identity.individual.id_numbers[].type, V2.Core.AccountCreateParams.identity.individual.id_numbers[].type, V2.Core.AccountPerson.id_numbers[].type, V2.Core.AccountPersonCreateParams.id_numbers[].type, V2.Core.AccountPersonUpdateParams.id_numbers[].type, and V2.Core.AccountUpdateParams.identity.individual.id_numbers[].type
    • Remove support for collector on V2.Core.Account.requirements
    • Add support for new value holds_currencies.eur on enum V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability
    • Add support for new values payment_method and person on enum V2.Core.Account.requirements.entries[].reference.type
    • Remove support for value resource from enum V2.Core.Account.requirements.entries[].reference.type
    • Remove support for value future_requirements from enum V2.Core.Account.requirements.entries[].requested_reasons[].code
    • Remove support for v1_event_id on V2.Core.Event
    • Remove support for amount_details and capture_method on V2.Payments.OffSessionPaymentCreateParams and V2.Payments.OffSessionPayment
    • Change type of V2.Payments.OffSessionPayment.amount_capturable from amount to an object
    • Change type of V2.Payments.OffSessionPayment.amount_requested from amount to an object
    • Change type of V2.Payments.OffSessionPaymentCreateParams.amount from amount to an object
    • Add support for new value best_available on enum V2.Payments.OffSessionPaymentCreateParams.retry_details.retry_strategy
    • Remove support for values heuristic, scheduled, and smart from enum V2.Payments.OffSessionPaymentCreateParams.retry_details.retry_strategy
    • Change V2.Payments.OffSessionPaymentCreateParams.retry_details.retry_strategy to be optional
    • Remove support for destination on V2.Payments.OffSessionPaymentCaptureParams.transfer_data
    • Change V2.Payments.OffSessionPaymentCaptureParams.amount_to_capture to be optional
    • Add support for created on V2.Core.EventListParams
    • Remove support for gt, gte, lt, and lte on V2.Core.EventListParams
    • Add support for account_token on V2.Core.AccountCreateParams and V2.Core.AccountUpdateParams
    • Add support for new value future_requirements on enums V2.Core.AccountCreateParams.include, V2.Core.AccountRetrieveParams.include, and V2.Core.AccountUpdateParams.include
    • Add support for person_token on V2.Core.AccountPersonCreateParams and V2.Core.AccountPersonUpdateParams
    • Add support for impacted_requests_percentage on EventsV2CoreHealthApiErrorFiringEvent.impact, EventsV2CoreHealthApiErrorResolvedEvent.impact, EventsV2CoreHealthApiLatencyFiringEvent.impact, EventsV2CoreHealthApiLatencyResolvedEvent.impact, EventsV2CoreHealthPaymentMethodErrorFiringEvent.impact, and EventsV2CoreHealthPaymentMethodErrorResolvedEvent.impact
    • Add support for context and related_object on EventsV2CoreHealthEventGenerationFailureResolvedEvent.impact
    • Remove support for `...
Read more