migrate
migrate copied to clipboard
fix(deps): update dependency stripe to v15
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| stripe | 12.18.0 -> 15.6.0 |
Release Notes
stripe/stripe-node (stripe)
v15.6.0
-
#2086 Update generated code
- Remove support for
pending_invoice_items_behavioronSubscriptionCreateParams
- Remove support for
-
#2080 Update generated code
- Add support for
updatetest helper method on resourcesTreasury.OutboundPaymentandTreasury.OutboundTransfer - Add support for
allow_redisplayonConfirmationToken.payment_method_previewandPaymentMethod - Add support for new values
treasury.outbound_payment.tracking_details_updatedandtreasury.outbound_transfer.tracking_details_updatedon enumEvent.type - Add support for
preview_modeonInvoiceCreatePreviewParams,InvoiceUpcomingLinesParams, andInvoiceUpcomingParams - Add support for
pending_invoice_items_behavioronSubscriptionCreateParams - Add support for
tracking_detailsonTreasury.OutboundPaymentandTreasury.OutboundTransfer - Add support for new values
treasury.outbound_payment.tracking_details_updatedandtreasury.outbound_transfer.tracking_details_updatedon enumsWebhookEndpointCreateParams.enabled_events[]andWebhookEndpointUpdateParams.enabled_events[]
- Add support for
- #2085 Remove unnecessary pointer to description in deprecation message
v15.5.0
-
#2072 Update generated code
- Add support for new value
shipping_address_invalidon enumsInvoice.last_finalization_error.code,PaymentIntent.last_payment_error.code,SetupAttempt.setup_error.code,SetupIntent.last_setup_error.code, andStripeError.code - Fix properties incorrectly marked as required in the OpenAPI spec.
- Change
Apps.Secret.payload,BillingPortal.Configuration.features.subscription_update.products,Charge.refunds,ConfirmationToken.payment_method_preview.klarna.dob,Identity.VerificationReport.document.dob,Identity.VerificationReport.document.expiration_date,Identity.VerificationReport.document.number,Identity.VerificationReport.id_number.dob,Identity.VerificationReport.id_number.id_number,Identity.VerificationSession.provided_details,Identity.VerificationSession.verified_outputs.dob,Identity.VerificationSession.verified_outputs.id_number,Identity.VerificationSession.verified_outputs,Issuing.Dispute.balance_transactions,Issuing.Transaction.purchase_details,PaymentMethod.klarna.dob,Tax.Calculation.line_items,Tax.CalculationLineItem.tax_breakdown,Tax.Transaction.line_items,Treasury.FinancialAccount.financial_addresses[].aba.account_number,Treasury.ReceivedCredit.linked_flows.source_flow_details,Treasury.Transaction.entries,Treasury.Transaction.flow_details, andTreasury.TransactionEntry.flow_detailsto be optional
- Change
- Add support for
paypalonDispute.payment_method_details - Change type of
Dispute.payment_method_details.typefromliteral('card')toenum('card'|'paypal') - Change type of
Entitlements.FeatureUpdateParams.metadatafrommap(string: string)toemptyable(map(string: string)) - Add support for
payment_method_typesonPaymentIntentConfirmParams - Add support for
ship_from_detailsonTax.CalculationCreateParams,Tax.Calculation, andTax.Transaction - Add support for
bh,eg,ge,ke,kz,ng, andomonTax.Registration.country_optionsandTax.RegistrationCreateParams.country_options
- Add support for new value
-
#2077 Deprecate Node methods and params based on OpenAPI spec
- Mark as deprecated the
approveanddeclinemethods onIssuing.Authorization. Instead, respond directly to the webhook request to approve an authorization. - Mark as deprecated the
persistent_tokenproperty onConfirmationToken.PaymentMethodPreview.Link,PaymentIntent.PaymentMethodOptions.Link,PaymentIntentResource.PaymentMethodOptions.Link,PaymentMethod.Link.persistent_token.SetupIntents.PaymentMethodOptions.Card.Link.persistent_token,SetupIntentsResource.persistent_token. This is a legacy parameter that no longer has any function.
- Mark as deprecated the
-
#2074 Add a more explicit comment on
limitparam inautoPagingToArray
v15.4.0
-
#2071 Update generated code
- Add support for
setup_future_usageonCheckout.Session.payment_method_options.amazon_pay,Checkout.Session.payment_method_options.revolut_pay,PaymentIntent.payment_method_options.amazon_pay, andPaymentIntent.payment_method_options.revolut_pay - Change type of
Entitlements.ActiveEntitlement.featurefromstringtoexpandable(Entitlements.Feature) - Remove support for inadvertently released identity verification features
emailandphoneonIdentity.VerificationSessionCreateParams.optionsandIdentity.VerificationSessionUpdateParams.options - Change
Identity.VerificationSession.provided_details,Identity.VerificationSession.verified_outputs.email, andIdentity.VerificationSession.verified_outputs.phoneto be required - Add support for new values
amazon_payandrevolut_payon enumsInvoice.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[], andSubscriptionUpdateParams.payment_settings.payment_method_types[] - Add support for
amazon_payandrevolut_payonMandate.payment_method_detailsandSetupAttempt.payment_method_details - Add support for
ending_before,limit, andstarting_afteronPaymentMethodConfigurationListParams - Add support for
mobilepayonPaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams, andPaymentMethodConfiguration
- Add support for
- #2061 Make cloudflare package export
v15.3.0
-
#2069 Update generated code
- Add support for
create_previewmethod on resourceInvoice - Add support for
payment_method_dataonCheckout.SessionCreateParams - Add support for
saved_payment_method_optionsonCheckout.SessionCreateParamsandCheckout.Session - Add support for
mobilepayonCheckout.Session.payment_method_optionsandCheckout.SessionCreateParams.payment_method_options - Add support for new value
mobilepayon enumCheckout.SessionCreateParams.payment_method_types[] - Add support for
allow_redisplayonConfirmationTokenCreateParams.testHelpers.payment_method_data,CustomerListPaymentMethodsParams,PaymentIntentConfirmParams.payment_method_data,PaymentIntentCreateParams.payment_method_data,PaymentIntentUpdateParams.payment_method_data,PaymentMethodCreateParams,PaymentMethodUpdateParams,SetupIntentConfirmParams.payment_method_data,SetupIntentCreateParams.payment_method_data, andSetupIntentUpdateParams.payment_method_data - Add support for
schedule_detailsandsubscription_detailsonInvoiceUpcomingLinesParamsandInvoiceUpcomingParams - Add support for new value
otheron enumsIssuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel.unit,Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel.unit, andIssuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel.unit
- Add support for
v15.2.0
-
#2064 Update generated code
- Add support for new resource
Entitlements.ActiveEntitlementSummary - Add support for
balancesandpayouts_listonAccountSession.componentsandAccountSessionCreateParams.components - Change
AccountSession.components.payment_details.features.destination_on_behalf_of_charge_managementandAccountSession.components.payments.features.destination_on_behalf_of_charge_managementto be required - Change
Billing.MeterEventCreateParams.timestampandDispute.payment_method_details.cardto be optional - Change type of
Dispute.payment_method_details.cardfromDisputePaymentMethodDetailsCard | nulltoDisputePaymentMethodDetailsCard - Add support for new value
entitlements.active_entitlement_summary.updatedon enumEvent.type - Remove support for
configonForwarding.RequestCreateParamsandForwarding.Request. This field is no longer used by the Forwarding Request API. - Add support for
capture_methodonPaymentIntent.payment_method_options.revolut_pay,PaymentIntentConfirmParams.payment_method_options.revolut_pay,PaymentIntentCreateParams.payment_method_options.revolut_pay, andPaymentIntentUpdateParams.payment_method_options.revolut_pay - Add support for
swishonPaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams, andPaymentMethodConfiguration - Add support for new value
entitlements.active_entitlement_summary.updatedon enumsWebhookEndpointCreateParams.enabled_events[]andWebhookEndpointUpdateParams.enabled_events[]
- Add support for new resource
v15.1.0
-
#2062 Update generated code
- Add support for
account_managementandnotification_banneronAccountSession.componentsandAccountSessionCreateParams.components - Add support for
external_account_collectiononAccountSession.components.account_onboarding.featuresandAccountSessionCreateParams.components.account_onboarding.features - Add support for new values
billing_policy_remote_function_response_invalid,billing_policy_remote_function_timeout,billing_policy_remote_function_unexpected_status_code, andbilling_policy_remote_function_unreachableon enumsInvoice.last_finalization_error.code,PaymentIntent.last_payment_error.code,SetupAttempt.setup_error.code,SetupIntent.last_setup_error.code, andStripeError.code - Change
Billing.MeterEventAdjustmentCreateParams.cancel.identifierandBilling.MeterEventAdjustmentCreateParams.cancelto be optional - Change
Billing.MeterEventAdjustmentCreateParams.typeto be required - Change type of
Billing.MeterEventAdjustment.cancelfromBillingMeterResourceBillingMeterEventAdjustmentCanceltoBillingMeterResourceBillingMeterEventAdjustmentCancel | null - Add support for
amazon_payonCharge.payment_method_details,Checkout.Session.payment_method_options,Checkout.SessionCreateParams.payment_method_options,ConfirmationToken.payment_method_preview,ConfirmationTokenCreateParams.testHelpers.payment_method_data,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,PaymentMethod,Refund.destination_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, andSetupIntentUpdateParams.payment_method_options - Add support for new value
ownershipon enumsCheckout.Session.payment_method_options.us_bank_account.financial_connections.prefetch[],Checkout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[],Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[],InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[],InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[],PaymentIntent.payment_method_options.us_bank_account.financial_connections.prefetch[],PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[],PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[],PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[],SetupIntent.payment_method_options.us_bank_account.financial_connections.prefetch[],SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[],SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[],SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[],Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[],SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], andSubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[] - Add support for new value
amazon_payon enumCheckout.SessionCreateParams.payment_method_types[] - Add support for new values
bh_vat,kz_bin,ng_tin, andom_vaton enumsCheckout.Session.customer_details.tax_ids[].type,Invoice.customer_tax_ids[].type,Tax.Calculation.customer_details.tax_ids[].type,Tax.Transaction.customer_details.tax_ids[].type, andTaxId.type - Add support for new value
amazon_payon enumsConfirmationTokenCreateParams.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, andSetupIntentUpdateParams.payment_method_data.type - Add support for new value
amazon_payon enumsConfirmationToken.payment_method_preview.typeandPaymentMethod.type - Add support for new values
bh_vat,kz_bin,ng_tin, andom_vaton enumsCustomerCreateParams.tax_id_data[].type,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type,InvoiceUpcomingParams.customer_details.tax_ids[].type,Tax.CalculationCreateParams.customer_details.tax_ids[].type, andTaxIdCreateParams.type - Add support for new value
amazon_payon enumsCustomerListPaymentMethodsParams.type,PaymentMethodCreateParams.type, andPaymentMethodListParams.type - Add support for
next_refresh_available_atonFinancialConnections.Account.ownership_refresh - Add support for new value
ownershipon enumsInvoice.payment_settings.payment_method_options.us_bank_account.financial_connections.permissions[]andSubscription.payment_settings.payment_method_options.us_bank_account.financial_connections.permissions[]
- Add support for
v15.0.0
-
- This release changes the pinned API version to
2024-04-10. Please read the API Upgrade Guide and carefully review the API changes before upgrading.
- This release changes the pinned API version to
⚠️ Breaking changes
- Rename event type
InvoiceitemCreatedEventtoInvoiceItemCreatedEvent - Rename event type
InvoiceitemDeletedEventtoInvoiceItemDeletedEvent - Rename
featurestomarketing_featuresonProductCreateOptions,ProductUpdateOptions, andProduct.
⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API
- Remove
subscription_pausefrom the below as the feature to pause subscription on the portal has been deprecated.-
BillingPortal.Configuration.Features -
BillingPortal.ConfigurationCreateParams.Features -
BillingPortal.ConfigurationUpdateParams.Features
-
- Remove the below deprecated values for the type
BalanceTransaction.Type-
obligation_inbound -
obligation_payout -
obligation_payout_failure -
'obligation_reversal_outbound'
-
- Remove deprecated value
variousfor the typeClimate.Supplier.RemovalPathway - Remove deprecated events
-
invoiceitem.updated -
order.created -
recipient.created -
recipient.deleted -
recipient.updated -
sku.created -
sku.deleted -
sku.updated
-
- Remove types for the deprecated events
-
InvoiceItemUpdatedEvent -
OrderCreatedEvent -
RecipientCreatedEvent -
RecipientDeletedEvent -
RecipientUpdatedEvent -
SKUCreatedEvent -
SKUDeletedEvent
-
- Remove the deprecated value
include_and_requirefor the typeInvoiceCreateParams.PendingInvoiceItemsBehavior - Remove the deprecated value
service_taxfor the typesTaxRate.TaxType,TaxRateCreateParams.TaxType,TaxRateUpdateParams.TaxType, andInvoiceUpdateLineItemParams.TaxAmount.TaxRateData - Remove
request_incremental_authorizationfromPaymentIntentCreateParams.PaymentMethodOptions.CardPresent,PaymentIntentUpdateParams.PaymentMethodOptions.CardPresentandPaymentIntentConfirmParams.PaymentMethodOptions.CardPresent - Remove support for
id_bank_transfer,multibanco,netbanking,pay_by_bank, andupionPaymentMethodConfiguration - Remove the deprecated value
obligationfor the typeReporting.ReportRunCreateParams.Parameters.ReportingCategory - Remove the deprecated value
challenge_onlyfrom the typeSetupIntent.PaymentMethodOptions.Card.RequestThreeDSecure - Remove the legacy field
rendering_optionsinInvoice,InvoiceCreateOptionsandInvoiceUpdateOptions. Userenderinginstead.
v14.25.0
-
#2059 Update generated code
- Add support for new resources
Entitlements.ActiveEntitlementandEntitlements.Feature - Add support for
listandretrievemethods on resourceActiveEntitlement - Add support for
create,list,retrieve, andupdatemethods on resourceFeature - Add support for
controlleronAccountCreateParams - Add support for
fees,losses,requirement_collection, andstripe_dashboardonAccount.controller - Add support for new value
noneon enumAccount.type - Add support for
event_nameonBilling.MeterEventAdjustmentCreateParamsandBilling.MeterEventAdjustment - Add support for
cancelandtypeonBilling.MeterEventAdjustment
- Add support for new resources
v14.24.0
-
#2053 Update generated code
- Change
Charge.payment_method_details.us_bank_account.payment_reference,PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.hosted_instructions_url,PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.mobile_auth_url,PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.qr_code.data,PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.qr_code.image_url_png,PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.qr_code.image_url_svg,PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.qr_code, andPaymentIntent.payment_method_options.swish.referenceto be required - Change type of
Checkout.SessionCreateParams.payment_method_options.swish.referencefromemptyable(string)tostring - Add support for
subscription_itemonDiscount - Add support for
emailandphoneonIdentity.VerificationReport,Identity.VerificationSession.options,Identity.VerificationSession.verified_outputs,Identity.VerificationSessionCreateParams.options, andIdentity.VerificationSessionUpdateParams.options - Add support for
verification_flowonIdentity.VerificationReport,Identity.VerificationSessionCreateParams, andIdentity.VerificationSession - Add support for new value
verification_flowon enumsIdentity.VerificationReport.typeandIdentity.VerificationSession.type - Add support for
provided_detailsonIdentity.VerificationSessionCreateParams,Identity.VerificationSessionUpdateParams, andIdentity.VerificationSession - Change
Identity.VerificationSessionCreateParams.typeto be optional - Add support for new values
email_unverified_other,email_verification_declined,phone_unverified_other, andphone_verification_declinedon enumIdentity.VerificationSession.last_error.code - Add support for
promotion_codeonInvoiceCreateParams.discounts[],InvoiceItemCreateParams.discounts[],InvoiceItemUpdateParams.discounts[],InvoiceUpdateParams.discounts[],QuoteCreateParams.discounts[], andQuoteUpdateParams.discounts[] - Add support for
discountsonInvoiceUpcomingLinesParams.subscription_items[],InvoiceUpcomingParams.subscription_items[],QuoteCreateParams.line_items[],QuoteUpdateParams.line_items[],SubscriptionCreateParams.add_invoice_items[],SubscriptionCreateParams.items[],SubscriptionCreateParams,SubscriptionItemCreateParams,SubscriptionItemUpdateParams,SubscriptionItem,SubscriptionSchedule.phases[].add_invoice_items[],SubscriptionSchedule.phases[].items[],SubscriptionSchedule.phases[],SubscriptionScheduleCreateParams.phases[].add_invoice_items[],SubscriptionScheduleCreateParams.phases[].items[],SubscriptionScheduleCreateParams.phases[],SubscriptionScheduleUpdateParams.phases[].add_invoice_items[],SubscriptionScheduleUpdateParams.phases[].items[],SubscriptionScheduleUpdateParams.phases[],SubscriptionUpdateParams.add_invoice_items[],SubscriptionUpdateParams.items[],SubscriptionUpdateParams, andSubscription - Change type of
Invoice.discountsfromarray(expandable(deletable($Discount))) | nulltoarray(expandable(deletable($Discount))) - Add support for
allowed_merchant_countriesandblocked_merchant_countriesonIssuing.Card.spending_controls,Issuing.CardCreateParams.spending_controls,Issuing.CardUpdateParams.spending_controls,Issuing.Cardholder.spending_controls,Issuing.CardholderCreateParams.spending_controls, andIssuing.CardholderUpdateParams.spending_controls - Add support for
ziponPaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams, andPaymentMethodConfiguration - Add support for
offlineonSetupAttempt.payment_method_details.card_present - Add support for
card_presentonSetupIntent.payment_method_options,SetupIntentConfirmParams.payment_method_options,SetupIntentCreateParams.payment_method_options, andSetupIntentUpdateParams.payment_method_options - Add support for new value
mobile_phone_readeron enumsTerminal.Reader.device_typeandTerminal.ReaderListParams.device_type
- Change
v14.23.0
-
#2046 Update generated code
- Add support for new resources
Billing.MeterEventAdjustment,Billing.MeterEvent, andBilling.Meter - Add support for
create,deactivate,list,reactivate,retrieve, andupdatemethods on resourceMeter - Add support for
createmethod on resourcesMeterEventAdjustmentandMeterEvent - Add support for
amazon_pay_paymentsonAccount.capabilities,AccountCreateParams.capabilities, andAccountUpdateParams.capabilities - Add support for new value
verification_failed_representative_authorityon enumsAccount.future_requirements.errors[].code,Account.requirements.errors[].code,BankAccount.future_requirements.errors[].code, andBankAccount.requirements.errors[].code - Add support for
destination_on_behalf_of_charge_managementonAccountSession.components.payment_details.features,AccountSession.components.payments.features,AccountSessionCreateParams.components.payment_details.features, andAccountSessionCreateParams.components.payments.features - Add support for
mandateonCharge.payment_method_details.us_bank_account,Treasury.InboundTransfer.origin_payment_method_details.us_bank_account,Treasury.OutboundPayment.destination_payment_method_details.us_bank_account, andTreasury.OutboundTransfer.destination_payment_method_details.us_bank_account - Add support for
second_lineonIssuing.CardCreateParams - Add support for
meteronPlanCreateParams,Plan,Price.recurring,PriceCreateParams.recurring, andPriceListParams.recurring
- Add support for new resources
- #2045 esbuild test project fixes
v14.22.0
-
#2040 Update generated code
- Add support for new resources
ConfirmationTokenandForwarding.Request - Add support for
retrievemethod on resourceConfirmationToken - Add support for
create,list, andretrievemethods on resourceRequest - Add support for
mobilepay_paymentsonAccount.capabilities,AccountCreateParams.capabilities, andAccountUpdateParams.capabilities - Add support for new values
forwarding_api_inactive,forwarding_api_invalid_parameter,forwarding_api_upstream_connection_error, andforwarding_api_upstream_connection_timeouton enumsInvoice.last_finalization_error.code,PaymentIntent.last_payment_error.code,SetupAttempt.setup_error.code,SetupIntent.last_setup_error.code, andStripeError.code - Add support for
mobilepayonCharge.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,PaymentMethodCreateParams,PaymentMethod,SetupIntentConfirmParams.payment_method_data,SetupIntentCreateParams.payment_method_data, andSetupIntentUpdateParams.payment_method_data - Add support for
payment_referenceonCharge.payment_method_details.us_bank_account - Add support for new value
mobilepayon enumsCustomerListPaymentMethodsParams.type,PaymentMethodCreateParams.type, andPaymentMethodListParams.type - Add support for
confirmation_tokenonPaymentIntentConfirmParams,PaymentIntentCreateParams,SetupIntentConfirmParams, andSetupIntentCreateParams - Add support for new value
mobilepayon enumsPaymentIntentConfirmParams.payment_method_data.type,PaymentIntentCreateParams.payment_method_data.type,PaymentIntentUpdateParams.payment_method_data.type,SetupIntentConfirmParams.payment_method_data.type,SetupIntentCreateParams.payment_method_data.type, andSetupIntentUpdateParams.payment_method_data.type - Add support for new value
mobilepayon enumPaymentMethod.type - Add support for
nameonTerminal.ConfigurationCreateParams,Terminal.ConfigurationUpdateParams, andTerminal.Configuration - Add support for
payoutonTreasury.ReceivedDebit.linked_flows
- Add support for new resources
- #2043 Don't mutate error.type during minification
v14.21.0
-
#2035 Update generated code
- Add support for new resources
Issuing.PersonalizationDesignandIssuing.PhysicalBundle - Add support for
create,list,retrieve, andupdatemethods on resourcePersonalizationDesign - Add support for
listandretrievemethods on resourcePhysicalBundle - Add support for
personalization_designonIssuing.CardCreateParams,Issuing.CardListParams,Issuing.CardUpdateParams, andIssuing.Card - Change type of
SubscriptionCreateParams.application_fee_percentandSubscriptionUpdateParams.application_fee_percentfromnumbertoemptyStringable(number) - Add support for
sepa_debitonSubscription.payment_settings.payment_method_options,SubscriptionCreateParams.payment_settings.payment_method_options, andSubscriptionUpdateParams.payment_settings.payment_method_options
- Add support for new resources
v14.20.0
-
#2033 Update generated code
- Add support for
documentsonAccountSession.componentsandAccountSessionCreateParams.components - Add support for
request_three_d_secureonCheckout.Session.payment_method_options.cardandCheckout.SessionCreateParams.payment_method_options.card - Add support for
createdonCreditNoteListParams - Add support for
sepa_debitonInvoice.payment_settings.payment_method_options,InvoiceCreateParams.payment_settings.payment_method_options, andInvoiceUpdateParams.payment_settings.payment_method_options
- Add support for
v14.19.0
-
#2029 Update generated code
- Change
Identity.VerificationReport.type,SubscriptionSchedule.default_settings.invoice_settings.account_tax_ids,SubscriptionSchedule.phases[].invoice_settings.account_tax_ids, andTaxId.ownerto be required - Change type of
Identity.VerificationSession.typefromenum('document'|'id_number') | nulltoenum('document'|'id_number') - Add support for
numberonInvoiceCreateParamsandInvoiceUpdateParams - Add support for
enable_customer_cancellationonTerminal.Reader.action.process_payment_intent.process_config,Terminal.Reader.action.process_setup_intent.process_config,Terminal.ReaderProcessPaymentIntentParams.process_config, andTerminal.ReaderProcessSetupIntentParams.process_config - Add support for
refund_payment_configonTerminal.Reader.action.refund_paymentandTerminal.ReaderRefundPaymentParams - Add support for
payment_methodonTokenCreateParams.bank_account
- Change
- #2027 vscode settings: true -> "explicit"
v14.18.0
-
#2022 Update generated code
- Add support for
client_reference_idonIdentity.VerificationReportListParams,Identity.VerificationReport,Identity.VerificationSessionCreateParams,Identity.VerificationSessionListParams, andIdentity.VerificationSession - Remove support for value
include_and_requirefrom enumInvoiceCreateParams.pending_invoice_items_behavior - Remove support for value
service_taxfrom enumsTaxRate.tax_type,TaxRateCreateParams.tax_type, andTaxRateUpdateParams.tax_type - Add support for
createdonTreasury.OutboundPaymentListParams
- Add support for
-
#2025 Standardize parameter interface names
-
CapabilityListParamsrenamed toAccountListCapabilitiesParams -
CapabilityRetrieveParamsrenamed toAccountRetrieveCapabilityParams -
CapabilityUpdateParamsrenamed toAccountUpdateCapabilityParams -
CashBalanceRetrieveParamsrenamed toCustomerRetrieveCashBalanceParams -
CashBalanceUpdateParamsrenamed toCustomerUpdateCashBalanceParams -
CreditNoteLineItemListParamsrenamed toCreditNoteListLineItemsParams -
CustomerBalanceTransactionCreateParamsrenamed toCustomerCreateBalanceTransactionParams -
CustomerBalanceTransactionListParamsrenamed toCustomerListBalanceTransactionsParams -
CustomerBalanceTransactionRetrieveParamsrenamed toCustomerRetrieveBalanceTransactionParams -
CustomerBalanceTransactionUpdateParamsrenamed toCustomerUpdateBalanceTransactionParams -
CustomerCashBalanceTransactionListParamsrenamed toCustomerListCashBalanceTransactionsParams -
CustomerCashBalanceTransactionRetrieveParamsrenamed toCustomerRetrieveCashBalanceTransactionParams -
CustomerSourceCreateParamsrenamed toCustomerCreateSourceParams -
CustomerSourceDeleteParamsrenamed toCustomerDeleteSourceParams -
CustomerSourceListParamsrenamed toCustomerListSourcesParams -
CustomerSourceRetrieveParamsrenamed toCustomerRetrieveSourceParams -
CustomerSourceUpdateParamsrenamed toCustomerUpdateSourceParams -
CustomerSourceVerifyParamsrenamed toCustomerVerifySourceParams -
ExternalAccountCreateParamsrenamed toAccountCreateExternalAccountParams -
ExternalAccountDeleteParamsrenamed toAccountDeleteExternalAccountParams -
ExternalAccountListParamsrenamed toAccountListExternalAccountsParams -
ExternalAccountRetrieveParamsrenamed toAccountRetrieveExternalAccountParams -
ExternalAccountUpdateParamsrenamed toAccountUpdateExternalAccountParams -
FeeRefundCreateParamsrenamed toApplicationFeeCreateRefundParams -
FeeRefundListParamsrenamed toApplicationFeeListRefundsParams -
FeeRefundRetrieveParamsrenamed toApplicationFeeRetrieveRefundParams -
FeeRefundUpdateParamsrenamed toApplicationFeeUpdateRefundParams -
InvoiceLineItemListParamsrenamed toInvoiceListLineItemsParams -
InvoiceLineItemUpdateParamsrenamed toInvoiceUpdateLineItemParams -
LoginLinkCreateParamsrenamed toAccountCreateLoginLinkParams -
PersonCreateParamsrenamed toAccountCreatePersonParams -
PersonDeleteParamsrenamed toAccountDeletePersonParams -
PersonListParamsrenamed toAccountListPersonsParams -
PersonRetrieveParamsrenamed toAccountRetrievePersonParams -
PersonUpdateParamsrenamed toAccountUpdatePersonParams -
TaxIdCreateParamsrenamed toCustomerCreateTaxIdParams -
TaxIdDeleteParamsrenamed toCustomerDeleteTaxIdParams -
TaxIdListParamsrenamed toCustomerListTaxIdsParams -
TaxIdRetrieveParamsrenamed toCustomerRetrieveTaxIdParams -
TransferReversalCreateParamsrenamed toTransferCreateReversalParams -
TransferReversalListParamsrenamed toTransferListReversalsParams -
TransferReversalRetrieveParamsrenamed toTransferRetrieveReversalParams -
TransferReversalUpdateParamsrenamed toTransferUpdateReversalParams -
UsageRecordCreateParamsrenamed toSubscriptionItemCreateUsageRecordParams -
UsageRecordSummaryListParamsrenamed toSubscriptionItemListUsageRecordSummariesParamsOld names will still work but are deprecated and will be removed in future versions.
-
-
#2021 Add TaxIds API
- Add support for
create,del,list, andretrievemethods on resourceTaxId
- Add support for
v14.17.0
-
#2018 Update generated code
- Add support for
networksonCard,PaymentMethodCreateParams.card,PaymentMethodUpdateParams.card, andTokenCreateParams.card - Add support for new value
no_voecon enumsCheckout.Session.customer_details.tax_ids[].type,Invoice.customer_tax_ids[].type,Tax.Calculation.customer_details.tax_ids[].type,Tax.Transaction.customer_details.tax_ids[].type, andTaxId.type - Add support for new value
no_voecon enumsCustomerCreateParams.tax_id_data[].type,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type,InvoiceUpcomingParams.customer_details.tax_ids[].type,Tax.CalculationCreateParams.customer_details.tax_ids[].type, andTaxIdCreateParams.type - Add support for new value
financial_connections.account.refreshed_ownershipon enumEvent.type - Add support for
display_brandonPaymentMethod.card - Add support for new value
financial_connections.account.refreshed_ownershipon enumsWebhookEndpointCreateParams.enabled_events[]andWebhookEndpointUpdateParams.enabled_events[]
- Add support for
v14.16.0
-
#2012 Update generated code
- Add support for
invoicesonAccount.settingsandAccountUpdateParams.settings - Add support for new value
velobankon enumsCharge.payment_method_details.p24.bank,PaymentIntentConfirmParams.payment_method_data.p24.bank,PaymentIntentCreateParams.payment_method_data.p24.bank,PaymentIntentUpdateParams.payment_method_data.p24.bank,PaymentMethod.p24.bank,PaymentMethodCreateParams.p24.bank,SetupIntentConfirmParams.payment_method_data.p24.bank,SetupIntentCreateParams.payment_method_data.p24.bank, andSetupIntentUpdateParams.payment_method_data.p24.bank - Add support for
setup_future_usageonPaymentIntent.payment_method_options.blik,PaymentIntentConfirmParams.payment_method_options.blik,PaymentIntentCreateParams.payment_method_options.blik, andPaymentIntentUpdateParams.payment_method_options.blik - Add support for
require_cvc_recollectiononPaymentIntent.payment_method_options.card,PaymentIntentConfirmParams.payment_method_options.card,PaymentIntentCreateParams.payment_method_options.card, andPaymentIntentUpdateParams.payment_method_options.card - Add support for
account_tax_idsonSubscriptionCreateParams.invoice_settings,SubscriptionSchedule.default_settings.invoice_settings,SubscriptionSchedule.phases[].invoice_settings,SubscriptionScheduleCreateParams.default_settings.invoice_settings,SubscriptionScheduleCreateParams.phases[].invoice_settings,SubscriptionScheduleUpdateParams.default_settings.invoice_settings,SubscriptionScheduleUpdateParams.phases[].invoice_settings, andSubscriptionUpdateParams.invoice_settings
- Add support for
v14.15.0
-
#2001 Update generated code
- Add support for
swishpayment method throughout the API - Add support for
relationshiponAccountCreateParams.individual,AccountUpdateParams.individual, andTokenCreateParams.account.individual - Add support for
jurisdiction_levelonTaxRate - Change type of
Terminal.Reader.statusfromstringtoenum('offline'|'online')
- Add support for
-
#2009 Remove https check for *.stripe.com
- Stops throwing exceptions if
protocol: 'http'is set for requests toapi.stripe.com.
- Stops throwing exceptions if
v14.14.0
-
#1998 Update generated code
- Add support for
annual_revenueandestimated_worker_countonAccount.business_profile,AccountCreateParams.business_profile, andAccountUpdateParams.business_profile - Add support for new value
registered_charityon enumsAccount.company.structure,AccountCreateParams.company.structure,AccountUpdateParams.company.structure, andTokenCreateParams.account.company.structure - Add support for
collection_optionsonAccountLinkCreateParams - Add support for
liabilityonCheckout.Session.automatic_tax,Checkout.SessionCreateParams.automatic_tax,PaymentLink.automatic_tax,PaymentLinkCreateParams.automatic_tax,PaymentLinkUpdateParams.automatic_tax,Quote.automatic_tax,QuoteCreateParams.automatic_tax,QuoteUpdateParams.automatic_tax,SubscriptionSchedule.default_settings.automatic_tax,SubscriptionSchedule.phases[].automatic_tax,SubscriptionScheduleCreateParams.default_settings.automatic_tax,SubscriptionScheduleCreateParams.phases[].automatic_tax,SubscriptionScheduleUpdateParams.default_settings.automatic_tax, andSubscriptionScheduleUpdateParams.phases[].automatic_tax - Add support for
issueronCheckout.Session.invoice_creation.invoice_data,Checkout.SessionCreateParams.invoice_creation.invoice_data,PaymentLink.invoice_creation.invoice_data,PaymentLinkCreateParams.invoice_creation.invoice_data,PaymentLinkUpdateParams.invoice_creation.invoice_data,Quote.invoice_settings,QuoteCreateParams.invoice_settings,QuoteUpdateParams.invoice_settings,SubscriptionSchedule.default_settings.invoice_settings,SubscriptionSchedule.phases[].invoice_settings,SubscriptionScheduleCreateParams.default_settings.invoice_settings,SubscriptionScheduleCreateParams.phases[].invoice_settings,SubscriptionScheduleUpdateParams.default_settings.invoice_settings, andSubscriptionScheduleUpdateParams.phases[].invoice_settings - Add support for
invoice_settingsonCheckout.SessionCreateParams.subscription_data,PaymentLink.subscription_data,PaymentLinkCreateParams.subscription_data, andPaymentLinkUpdateParams.subscription_data - Add support for new value
challengeon enumsInvoice.payment_settings.payment_method_options.card.request_three_d_secure,InvoiceCreateParams.payment_settings.payment_method_options.card.request_three_d_secure,InvoiceUpdateParams.payment_settings.payment_method_options.card.request_three_d_secure,Subscription.payment_settings.payment_method_options.card.request_three_d_secure,SubscriptionCreateParams.payment_settings.payment_method_options.card.request_three_d_secure, andSubscriptionUpdateParams.payment_settings.payment_method_options.card.request_three_d_secure - Add support for
promotion_codeonInvoiceUpcomingLinesParams.discounts[],InvoiceUpcomingLinesParams.invoice_items[].discounts[],InvoiceUpcomingParams.discounts[], andInvoiceUpcomingParams.invoice_items[].discounts[] - Add support for
account_typeonPaymentMethodUpdateParams.us_bank_account
- Add support for
-
#1995 Update generated code
- Add support for providing
BankAccount,Card, andCardTokendetails on theexternal_accountparameter inAccountUpdateParams - Add support for new value
nnon enumsCharge.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,SetupAttempt.payment_method_details.ideal.bank,SetupIntentConfirmParams.payment_method_data.ideal.bank,SetupIntentCreateParams.payment_method_data.ideal.bank, andSetupIntentUpdateParams.payment_method_data.ideal.bank - Add support for new value
NNBANL2Gon enumsCharge.payment_method_details.ideal.bic,PaymentMethod.ideal.bic, andSetupAttempt.payment_method_details.ideal.bic - Change
CustomerSession.components.buy_button,CustomerSession.components.pricing_table, andSubscription.billing_cycle_anchor_configto be required - Add support for
issueronInvoiceCreateParams,InvoiceUpcomingLinesParams,InvoiceUpcomingParams,InvoiceUpdateParams, andInvoice - Add support for
liabilityonInvoice.automatic_tax,InvoiceCreateParams.automatic_tax,InvoiceUpcomingLinesParams.automatic_tax,InvoiceUpcomingParams.automatic_tax,InvoiceUpdateParams.automatic_tax,Subscription.automatic_tax,SubscriptionCreateParams.automatic_tax, andSubscriptionUpdateParams.automatic_tax - Add support for
on_behalf_ofonInvoiceUpcomingLinesParamsandInvoiceUpcomingParams - Add support for
pinonIssuing.CardCreateParams - Add support for
revocation_reasononMandate.payment_method_details.bacs_debit - Add support for
customer_balanceonPaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams, andPaymentMethodConfiguration - Add support for
invoice_settingsonSubscriptionCreateParamsandSubscriptionUpdateParams
- Add support for providing
- #1992 Add a hint about formatting during request forwarding
v14.13.0
-
#1995 Update generated code
- Add support for providing
BankAccount,Card, andCardTokendetails on theexternal_accountparameter inAccountUpdateParams - Add support for new value
nnon enumsCharge.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,SetupAttempt.payment_method_details.ideal.bank,SetupIntentConfirmParams.payment_method_data.ideal.bank,SetupIntentCreateParams.payment_method_data.ideal.bank, andSetupIntentUpdateParams.payment_method_data.ideal.bank - Add support for new value
NNBANL2Gon enumsCharge.payment_method_details.ideal.bic,PaymentMethod.ideal.bic, andSetupAttempt.payment_method_details.ideal.bic - Change
CustomerSession.components.buy_button,CustomerSession.components.pricing_table, andSubscription.billing_cycle_anchor_configto be required - Add support for
issueronInvoiceCreateParams,InvoiceUpcomingLinesParams,InvoiceUpcomingParams,InvoiceUpdateParams, andInvoice - Add support for
liabilityonInvoice.automatic_tax,InvoiceCreateParams.automatic_tax,InvoiceUpcomingLinesParams.automatic_tax,InvoiceUpcomingParams.automatic_tax,InvoiceUpdateParams.automatic_tax,Subscription.automatic_tax,SubscriptionCreateParams.automatic_tax, andSubscriptionUpdateParams.automatic_tax - Add support for
on_behalf_ofonInvoiceUpcomingLinesParamsandInvoiceUpcomingParams - Add support for
pinonIssuing.CardCreateParams - Add support for
revocation_reasononMandate.payment_method_details.bacs_debit - Add support for
customer_balanceonPaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams, andPaymentMethodConfiguration - Add support for
invoice_settingsonSubscriptionCreateParamsandSubscriptionUpdateParams
- Add support for providing
- #1992 Add a hint about formatting during request forwarding
v14.12.0
-
#1990 Update generated code
- Add support for new resource
CustomerSession - Add support for
createmethod on resourceCustomerSession - Remove support for values
obligation_inbound,obligation_payout_failure,obligation_payout, andobligation_reversal_outboundfrom enumBalanceTransaction.type - Add support for new values
epsandp24on enumsInvoice.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[], andSubscriptionUpdateParams.payment_settings.payment_method_types[] - Remove support for value
obligationfrom enumReporting.ReportRunCreateParams.parameters.reporting_category - Add support for
billing_cycle_anchor_configonSubscriptionCreateParamsandSubscription
- Add support for new resource
v14.11.0
-
#1985 Update generated code
- Add support for
retrievemethod on resourceTax.Registration - Change
AccountSession.components.payment_details.features,AccountSession.components.payment_details,AccountSession.components.payments.features,AccountSession.components.payments,AccountSession.components.payouts.features,AccountSession.components.payouts,PaymentLink.inactive_message, andPaymentLink.restrictionsto be required - Change type of
SubscriptionSchedule.default_settings.invoice_settingsfromInvoiceSettingSubscriptionScheduleSetting | nulltoInvoiceSettingSubscriptionScheduleSetting
- Add support for
- #1987 Update docstrings to indicate removal of deprecated event types
v14.10.0
-
#1979 Update generated code
- Add support for
collection_methodonMandate.payment_method_details.us_bank_account - Add support for
mandate_optionsonPaymentIntent.payment_method_options.us_bank_account,PaymentIntentConfirmParams.payment_method_options.us_bank_account,PaymentIntentCreateParams.payment_method_options.us_bank_account,PaymentIntentUpdateParams.payment_method_options.us_bank_account,SetupIntent.payment_method_options.us_bank_account,SetupIntentConfirmParams.payment_method_options.us_bank_account,SetupIntentCreateParams.payment_method_options.us_bank_account, andSetupIntentUpdateParams.payment_method_options.us_bank_account
- Add support for
-
#1976 Update generated code
- Add support for new resource
FinancialConnections.Transaction - Add support for
listandretrievemethods on resourceTransaction - Add support for
subscribeandunsubscribemethods on resourceFinancialConnections.Account - Add support for
featuresonAccountSessionCreateParams.components.payouts - Add support for
edit_payout_schedule,instant_payouts, andstandard_payoutsonAccountSession.components.payouts.features - Change type of
Checkout.Session.payment_method_options.us_bank_account.financial_connections.prefetch[],Checkout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[],Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[],InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[],InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[],PaymentIntent.payment_method_options.us_bank_account.financial_connections.prefetch[],PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[],PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[],PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[],SetupIntent.payment_method_options.us_bank_account.financial_connections.prefetch[],SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[],SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[],SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[],Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[],SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[], andSubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]fromliteral('balances')toenum('balances'|'transactions') - Add support for new value
financial_connections.account.refreshed_transactionson enumEvent.type - Add support for new value
transactionson enumFinancialConnections.AccountRefreshParams.features[] - Add support for
subscriptionsandtransaction_refreshonFinancialConnections.Account - Add support for
next_refresh_available_atonFinancialConnections.Account.balance_refresh - Add support for new value
transactionson enumsFinancialConnections.Session.prefetch[]andFinancialConnections.SessionCreateParams.prefetch[] - Add support for new value
unknownon enumsIssuing.Authorization.verification_data.authentication_exemption.typeandIssuing.AuthorizationCreateParams.testHelpers.verification_data.authentication_exemption.type - Add support for new value
challengeon enumsPaymentIntent.payment_method_options.card.request_three_d_secure,PaymentIntentConfirmParams.payment_method_options.card.request_three_d_secure,PaymentIntentCreateParams.payment_method_options.card.request_three_d_secure,PaymentIntentUpdateParams.payment_method_options.card.request_three_d_secure,SetupIntent.payment_method_options.card.request_three_d_secure,SetupIntentConfirmParams.payment_method_options.card.request_three_d_secure,SetupIntentCreateParams.payment_method_options.card.request_three_d_secure, andSetupIntentUpdateParams.payment_method_options.card.request_three_d_secure - Add support for
revolut_payonPaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams, andPaymentMethodConfiguration - Change type of
Quote.invoice_settingsfromInvoiceSettingQuoteSetting | nulltoInvoiceSettingQuoteSetting - Add support for
destination_detailsonRefund - Add support for new value
financial_connections.account.refreshed_transactionson enumsWebhookEndpointCreateParams.enabled_events[]andWebhookEndpointUpdateParams.enabled_events[]
- Add support for new resource
v14.9.0
-
#1973 Add
usageto X-Stripe-
Configuration
📅 Schedule: Branch creation - "every weekday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.