migrate
migrate copied to clipboard
fix(deps): update dependency stripe to v16
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
stripe | 12.18.0 -> 16.12.0 |
Release Notes
stripe/stripe-node (stripe)
v16.12.0
-
#2177 Update generated code
- Add support for new value
international_transaction
on enumTreasury.ReceivedDebit.failure_code
- Add support for new value
-
#2175 Update generated code
- Add support for new value
verification_supportability
on enumsAccount.future_requirements.errors[].code
,Account.requirements.errors[].code
,BankAccount.future_requirements.errors[].code
, andBankAccount.requirements.errors[].code
- Add support for new value
terminal_reader_invalid_location_for_activation
on enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
- Add support for
payer_details
onCharge.payment_method_details.klarna
- Add support for
amazon_pay
onDispute.payment_method_details
- Add support for new value
amazon_pay
on enumDispute.payment_method_details.type
- Add support for
automatically_finalizes_at
onInvoice
- Add support for
state_sales_tax
onTax.Registration.country_options.us
andTax.RegistrationCreateParams.country_options.us
- Add support for new value
v16.11.0
-
#2171 Update generated code
- Add support for new resource
InvoiceRenderingTemplate
- Add support for
archive
,list
,retrieve
, andunarchive
methods on resourceInvoiceRenderingTemplate
- Add support for
required
onCheckout.Session.tax_id_collection
,Checkout.SessionCreateParams.tax_id_collection
,PaymentLink.tax_id_collection
,PaymentLinkCreateParams.tax_id_collection
, andPaymentLinkUpdateParams.tax_id_collection
- Add support for
template
onCustomer.invoice_settings.rendering_options
,CustomerCreateParams.invoice_settings.rendering_options
,CustomerUpdateParams.invoice_settings.rendering_options
,Invoice.rendering
,InvoiceCreateParams.rendering
, andInvoiceUpdateParams.rendering
- Add support for
template_version
onInvoice.rendering
,InvoiceCreateParams.rendering
, andInvoiceUpdateParams.rendering
- Add support for new value
submitted
on enumIssuing.Card.shipping.status
- Change
TestHelpers.TestClock.status_details
to be required
- Add support for new resource
- #2172 Null out empty data sent to GET/DELETE APIs
v16.10.0
-
#2158 Update generated code
- Add support for
subscription_item
andsubscription
onBilling.AlertCreateParams.filter
- Change
Terminal.ReaderProcessSetupIntentParams.customer_consent_collected
to be optional
- Add support for
v16.9.0
-
#2163 Generate SDK for OpenAPI spec version 1230
- Change
AccountLinkCreateParams.collection_options.fields
andLineItem.description
to be optional - Add support for new value
hr_oib
on 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
hr_oib
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceCreatePreviewParams.customer_details.tax_ids[].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
issuing_regulatory_reporting
on enumsFile.purpose
andFileListParams.purpose
- Add support for new value
issuing_regulatory_reporting
on enumFileCreateParams.purpose
- Change
Issuing.Card.shipping.address_validation
to be required - Add support for
status_details
onTestHelpers.TestClock
- Change
v16.8.0
-
#2155 Update generated code
- Add support for
authorization_code
onCharge.payment_method_details.card
- Add support for
wallet
onCharge.payment_method_details.card_present
,ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present
,ConfirmationToken.payment_method_preview.card_present
,PaymentMethod.card.generated_from.payment_method_details.card_present
, andPaymentMethod.card_present
- Add support for
mandate_options
onPaymentIntent.payment_method_options.bacs_debit
,PaymentIntentConfirmParams.payment_method_options.bacs_debit
,PaymentIntentCreateParams.payment_method_options.bacs_debit
, andPaymentIntentUpdateParams.payment_method_options.bacs_debit
- Add support for
bacs_debit
onSetupIntent.payment_method_options
,SetupIntentConfirmParams.payment_method_options
,SetupIntentCreateParams.payment_method_options
, andSetupIntentUpdateParams.payment_method_options
- Add support for
chips
onTreasury.OutboundPayment.tracking_details.us_domestic_wire
,Treasury.OutboundPaymentUpdateParams.testHelpers.tracking_details.us_domestic_wire
,Treasury.OutboundTransfer.tracking_details.us_domestic_wire
, andTreasury.OutboundTransferUpdateParams.testHelpers.tracking_details.us_domestic_wire
- Change type of
Treasury.OutboundPayment.tracking_details.us_domestic_wire.imad
andTreasury.OutboundTransfer.tracking_details.us_domestic_wire.imad
fromstring
tostring | null
- Add support for
v16.7.0
-
#2147 Update generated code
- Add support for
activate
,archive
,create
,deactivate
,list
, andretrieve
methods on resourceBilling.Alert
- Add support for
retrieve
method on resourceTax.Calculation
- Add support for new value
invalid_mandate_reference_prefix_format
on enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
- Add support for
type
onCharge.payment_method_details.card_present.offline
,ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present.offline
,PaymentMethod.card.generated_from.payment_method_details.card_present.offline
, andSetupAttempt.payment_method_details.card_present.offline
- Add support for
offline
onConfirmationToken.payment_method_preview.card_present
andPaymentMethod.card_present
- Add support for
related_customer
onIdentity.VerificationSessionCreateParams
,Identity.VerificationSessionListParams
, andIdentity.VerificationSession
- Change
InvoiceCreateParams.payment_settings.payment_method_options.card.installments.plan.count
,InvoiceCreateParams.payment_settings.payment_method_options.card.installments.plan.interval
,InvoiceUpdateParams.payment_settings.payment_method_options.card.installments.plan.count
,InvoiceUpdateParams.payment_settings.payment_method_options.card.installments.plan.interval
,PaymentIntentConfirmParams.payment_method_options.card.installments.plan.count
,PaymentIntentConfirmParams.payment_method_options.card.installments.plan.interval
,PaymentIntentCreateParams.payment_method_options.card.installments.plan.count
,PaymentIntentCreateParams.payment_method_options.card.installments.plan.interval
,PaymentIntentUpdateParams.payment_method_options.card.installments.plan.count
, andPaymentIntentUpdateParams.payment_method_options.card.installments.plan.interval
to be optional - Add support for new value
girocard
on enumsPaymentIntent.payment_method_options.card.network
,PaymentIntentConfirmParams.payment_method_options.card.network
,PaymentIntentCreateParams.payment_method_options.card.network
,PaymentIntentUpdateParams.payment_method_options.card.network
,SetupIntent.payment_method_options.card.network
,SetupIntentConfirmParams.payment_method_options.card.network
,SetupIntentCreateParams.payment_method_options.card.network
,SetupIntentUpdateParams.payment_method_options.card.network
,Subscription.payment_settings.payment_method_options.card.network
,SubscriptionCreateParams.payment_settings.payment_method_options.card.network
, andSubscriptionUpdateParams.payment_settings.payment_method_options.card.network
- Add support for new value
financial_addresses.aba.forwarding
on enumsTreasury.FinancialAccount.active_features[]
,Treasury.FinancialAccount.pending_features[]
, andTreasury.FinancialAccount.restricted_features[]
- Add support for
v16.6.0
-
#2144 Update generated code
- Add support for new resources
Billing.AlertTriggered
andBilling.Alert
- Add support for new value
charge_exceeds_transaction_limit
on enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
- ⚠️ Remove support for
authorization_code
onCharge.payment_method_details.card
. This was accidentally released last week. - Add support for new value
billing.alert.triggered
on enumEvent.type
- Add support for new value
billing.alert.triggered
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for new resources
v16.5.0
-
#2143 Update generated code
- Add support for
tax_registrations
andtax_settings
onAccountSession.components
andAccountSessionCreateParams.components
- Add support for
-
#2140 Update generated code
- Add support for
update
method on resourceCheckout.Session
- Add support for
transaction_id
onCharge.payment_method_details.affirm
- Add support for
buyer_id
onCharge.payment_method_details.blik
- Add support for
authorization_code
onCharge.payment_method_details.card
- Add support for
brand_product
onCharge.payment_method_details.card_present
,ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present
,ConfirmationToken.payment_method_preview.card_present
,PaymentMethod.card.generated_from.payment_method_details.card_present
, andPaymentMethod.card_present
- Add support for
network_transaction_id
onCharge.payment_method_details.card_present
,Charge.payment_method_details.interac_present
,ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present
, andPaymentMethod.card.generated_from.payment_method_details.card_present
- Add support for
case_type
onDispute.payment_method_details.card
- Add support for new values
invoice.overdue
andinvoice.will_be_due
on enumEvent.type
- Add support for
twint
onPaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
, andPaymentMethodConfiguration
- Add support for new values
invoice.overdue
andinvoice.will_be_due
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for
v16.4.0
-
#2138 Update generated code
- Add support for
customer
onConfirmationToken.payment_method_preview
- Add support for new value
issuing_dispute.funds_rescinded
on enumEvent.type
- Add support for new value
multibanco
on 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 new value
stripe_s700
on enumsTerminal.Reader.device_type
andTerminal.ReaderListParams.device_type
- Add support for new value
issuing_dispute.funds_rescinded
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for
- #2136 Update changelog
v16.2.0
-
#2125 Update generated code
- Add support for
add_lines
,remove_lines
, andupdate_lines
methods on resourceInvoice
- Add support for new value
payment_intent_fx_quote_invalid
on enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
- Add support for
posted_at
onTax.TransactionCreateFromCalculationParams
andTax.Transaction
- Add support for
v16.1.0
-
#2120 Update generated code
- Add support for
filters
onCheckout.Session.payment_method_options.us_bank_account.financial_connections
,Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections
,InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
,InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
,PaymentIntent.payment_method_options.us_bank_account.financial_connections
,PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections
,PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections
,PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections
,SetupIntent.payment_method_options.us_bank_account.financial_connections
,SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections
,SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections
,SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections
,Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections
,SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
, andSubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
- Add support for
email_type
onCreditNoteCreateParams
,CreditNotePreviewLinesParams
, andCreditNotePreviewParams
- Add support for
account_subcategories
onFinancialConnections.Session.filters
andFinancialConnections.SessionCreateParams.filters
- Add support for new values
multibanco
,twint
, andzip
on enumsPaymentLink.payment_method_types[]
,PaymentLinkCreateParams.payment_method_types[]
, andPaymentLinkUpdateParams.payment_method_types[]
- Add support for
reboot_window
onTerminal.ConfigurationCreateParams
,Terminal.ConfigurationUpdateParams
, andTerminal.Configuration
- Add support for
v16.0.0
-
This release changes the pinned API version to 2024-06-20. Please read the API Upgrade Guide and carefully review the API changes before upgrading.
⚠️ Breaking changes
* Remove the unused resource `PlatformTaxFee`
* Rename `volume_decimal` to `quantity_decimal` on
* `Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel`,
* `Issuing.Transaction.purchase_details.fuel`,
* `Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel`, and
* `Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel`
* `Capabilities.Requirements.disabled_reason` and `Capabilities.Requirements.disabled_reason` are now enums with the below values
* `other`
* `paused.inactivity`
* `pending.onboarding`
* `pending.review`
* `platform_disabled`
* `platform_paused`
* `rejected.inactivity`
* `rejected.other`
* `rejected.unsupported_business`
* `requirements.fields_needed`
Additions
* Add support for new values `charging_minute`, `imperial_gallon`, `kilogram`, `kilowatt_hour`, and `pound` on enums `Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel.unit`, `Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel.unit`, and `Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel.unit`
* Add support for new values `card_canceled`, `card_expired`, `cardholder_blocked`, `insecure_authorization_method`, and `pin_blocked` on enum `Issuing.Authorization.request_history[].reason`
- Add support for
finalize_amount
test helper method on resourceIssuing.Authorization
- Add support for new value
ch_uid
on 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
ch_uid
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceCreatePreviewParams.customer_details.tax_ids[].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
fleet
onIssuing.AuthorizationCaptureParams.testHelpers.purchase_details
,Issuing.AuthorizationCreateParams.testHelpers
,Issuing.Authorization
,Issuing.Transaction.purchase_details
,Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details
, andIssuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details
- Add support for
fuel
onIssuing.AuthorizationCreateParams.testHelpers
andIssuing.Authorization
- Add support for
industry_product_code
andquantity_decimal
onIssuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel
,Issuing.Transaction.purchase_details.fuel
,Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel
, andIssuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel
- Add support for new value
2024-06-20
on enumWebhookEndpointCreateParams.api_version
- #2118 Use worker module in Bun
v15.12.0
-
#2109 Update generated code
- Add support for new value
mobilepay
on enumsPaymentLink.payment_method_types[]
,PaymentLinkCreateParams.payment_method_types[]
, andPaymentLinkUpdateParams.payment_method_types[]
- Add support for
tax_id_collection
onPaymentLinkUpdateParams
- Add support for new value
-
#2111 Where params are union of types, merge the types instead of having numbered suffixes in type names
- Change type of
PaymentIntentConfirmParams.mandate_data
fromStripe.Emptyable<PaymentIntentConfirmParams.MandateData1 | PaymentIntentConfirmParams.MandateData2>
toStripe.Emptyable<PaymentIntentConfirmParams.MandateData>
where the new MandateData is a union of all the properties of MandateData1 and MandateData2 - Change type of
PaymentMethodCreateParams.card
fromPaymentMethodCreateParams.Card1 | PaymentMethodCreateParams.Card2
toPaymentMethodCreateParams.Card
where the new Card is a union of all the properties of Card1 and Card2 - Change type of
SetupIntentConfirmParams.mandate_data
fromStripe.Emptyable<SetupIntentConfirmParams.MandateData1 | SetupIntentConfirmParams.MandateData2>
toStripe.Emptyable<SetupIntentConfirmParams.MandateData>
where the new MandateData is a union of all the properties of MandateData1 and MandateData2
- Change type of
v15.11.0
-
#2102 Update generated code
- Add support for
multibanco_payments
andtwint_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
- Add support for
twint
onCharge.payment_method_details
,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
,PaymentMethodCreateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
- Add support for
multibanco
onCheckout.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
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
- Add support for new values
multibanco
andtwint
on enumsCheckout.SessionCreateParams.payment_method_types[]
,CustomerListPaymentMethodsParams.type
,PaymentMethodCreateParams.type
, andPaymentMethodListParams.type
- Add support for new value
de_stn
on 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 values
multibanco
andtwint
on 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 values
multibanco
andtwint
on enumsConfirmationToken.payment_method_preview.type
andPaymentMethod.type
- Add support for new value
de_stn
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceCreatePreviewParams.customer_details.tax_ids[].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
multibanco_display_details
onPaymentIntent.next_action
- Add support for
invoice_settings
onSubscription
- Add support for
v15.10.0
-
#2101 Update generated code
- Add support for
gb_bank_transfer_payments
,jp_bank_transfer_payments
,mx_bank_transfer_payments
,sepa_bank_transfer_payments
, andus_bank_transfer_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
- Add support for new value
swish
on 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
v15.9.0
-
#2095 Update generated code
- Add support for new value
verification_requires_additional_proof_of_registration
on enumsAccount.future_requirements.errors[].code
,Account.requirements.errors[].code
,BankAccount.future_requirements.errors[].code
, andBankAccount.requirements.errors[].code
- Add support for
default_value
onCheckout.Session.custom_fields[].dropdown
,Checkout.Session.custom_fields[].numeric
,Checkout.Session.custom_fields[].text
,Checkout.SessionCreateParams.custom_fields[].dropdown
,Checkout.SessionCreateParams.custom_fields[].numeric
, andCheckout.SessionCreateParams.custom_fields[].text
- Add support for
generated_from
onConfirmationToken.payment_method_preview.card
andPaymentMethod.card
- Add support for new values
issuing_personalization_design.activated
,issuing_personalization_design.deactivated
,issuing_personalization_design.rejected
, andissuing_personalization_design.updated
on enumEvent.type
- Change
Issuing.Card.personalization_design
andIssuing.PhysicalBundle.features
to be required - Add support for new values
en-RO
andro-RO
on enumsPaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale
,PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale
, andPaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
- Add support for new values
issuing_personalization_design.activated
,issuing_personalization_design.deactivated
,issuing_personalization_design.rejected
, andissuing_personalization_design.updated
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for new value
v15.8.0
-
#2092 Update generated code
- Add support for
external_account_collection
onAccountSession.components.balances.features
,AccountSession.components.payouts.features
,AccountSessionCreateParams.components.balances.features
, andAccountSessionCreateParams.components.payouts.features
- Add support for new value
terminal_reader_invalid_location_for_payment
on enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
- Add support for
payment_method_remove
onCheckout.Session.saved_payment_method_options
- Add support for
v15.7.0
-
#2088 Update generated code
- Add support for
fee_source
onApplicationFee
- Add support for
net_available
onBalance.instant_available[]
- Add support for
preferred_locales
onCharge.payment_method_details.card_present
,ConfirmationToken.payment_method_preview.card_present
, andPaymentMethod.card_present
- Add support for
klarna
onDispute.payment_method_details
- Add support for new value
klarna
on enumDispute.payment_method_details.type
- Add support for
archived
andlookup_key
onEntitlements.FeatureListParams
- Change
FinancialConnections.SessionCreateParams.filters.countries
to be optional - Add support for
no_valid_authorization
onIssuing.Dispute.evidence
,Issuing.DisputeCreateParams.evidence
, andIssuing.DisputeUpdateParams.evidence
- Add support for new value
no_valid_authorization
on enumsIssuing.Dispute.evidence.reason
,Issuing.DisputeCreateParams.evidence.reason
, andIssuing.DisputeUpdateParams.evidence.reason
- Add support for
loss_reason
onIssuing.Dispute
- Add support for
routing
onPaymentIntent.payment_method_options.card_present
,PaymentIntentConfirmParams.payment_method_options.card_present
,PaymentIntentCreateParams.payment_method_options.card_present
, andPaymentIntentUpdateParams.payment_method_options.card_present
- Add support for
application_fee_amount
andapplication_fee
onPayout
- Add support for
stripe_s700
onTerminal.ConfigurationCreateParams
,Terminal.ConfigurationUpdateParams
, andTerminal.Configuration
- Change
Treasury.OutboundPayment.tracking_details
andTreasury.OutboundTransfer.tracking_details
to be required
- Add support for
v15.6.0
-
#2086 Update generated code
- Remove support for
pending_invoice_items_behavior
onSubscriptionCreateParams
- Remove support for
-
#2080 Update generated code
- Add support for
update
test helper method on resourcesTreasury.OutboundPayment
andTreasury.OutboundTransfer
- Add support for
allow_redisplay
onConfirmationToken.payment_method_preview
andPaymentMethod
- Add support for new values
treasury.outbound_payment.tracking_details_updated
andtreasury.outbound_transfer.tracking_details_updated
on enumEvent.type
- Add support for
preview_mode
onInvoiceCreatePreviewParams
,InvoiceUpcomingLinesParams
, andInvoiceUpcomingParams
- Add support for
pending_invoice_items_behavior
onSubscriptionCreateParams
- Add support for
tracking_details
onTreasury.OutboundPayment
andTreasury.OutboundTransfer
- Add support for new values
treasury.outbound_payment.tracking_details_updated
andtreasury.outbound_transfer.tracking_details_updated
on 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_invalid
on 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_details
to be optional
- Change
- Add support for
paypal
onDispute.payment_method_details
- Change type of
Dispute.payment_method_details.type
fromliteral('card')
toenum('card'|'paypal')
- Change type of
Entitlements.FeatureUpdateParams.metadata
frommap(string: string)
toemptyable(map(string: string))
- Add support for
payment_method_types
onPaymentIntentConfirmParams
- Add support for
ship_from_details
onTax.CalculationCreateParams
,Tax.Calculation
, andTax.Transaction
- Add support for
bh
,eg
,ge
,ke
,kz
,ng
, andom
onTax.Registration.country_options
andTax.RegistrationCreateParams.country_options
- Add support for new value
-
#2077 Deprecate Node methods and params based on OpenAPI spec
- Mark as deprecated the
approve
anddecline
methods onIssuing.Authorization
. Instead, respond directly to the webhook request to approve an authorization. - Mark as deprecated the
persistent_token
property 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
limit
param inautoPagingToArray
v15.4.0
-
#2071 Update generated code
- Add support for
setup_future_usage
onCheckout.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.feature
fromstring
toexpandable(Entitlements.Feature)
- Remove support for inadvertently released identity verification features
email
andphone
onIdentity.VerificationSessionCreateParams.options
andIdentity.VerificationSessionUpdateParams.options
- Change
Identity.VerificationSession.provided_details
,Identity.VerificationSession.verified_outputs.email
, andIdentity.VerificationSession.verified_outputs.phone
to be required - Add support for new values
amazon_pay
andrevolut_pay
on 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_pay
andrevolut_pay
onMandate.payment_method_details
andSetupAttempt.payment_method_details
- Add support for
ending_before
,limit
, andstarting_after
onPaymentMethodConfigurationListParams
- Add support for
mobilepay
onPaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
, andPaymentMethodConfiguration
- Add support for
- #2061 Make cloudflare package export
v15.3.0
-
#2069 Update generated code
- Add support for
create_preview
method on resourceInvoice
- Add support for
payment_method_data
onCheckout.SessionCreateParams
- Add support for
saved_payment_method_options
onCheckout.SessionCreateParams
andCheckout.Session
- Add support for
mobilepay
onCheckout.Session.payment_method_options
andCheckout.SessionCreateParams.payment_method_options
- Add support for new value
mobilepay
on enumCheckout.SessionCreateParams.payment_method_types[]
- Add support for
allow_redisplay
onConfirmationTokenCreateParams.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_details
andsubscription_details
onInvoiceUpcomingLinesParams
andInvoiceUpcomingParams
- Add support for new value
other
on 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
balances
andpayouts_list
onAccountSession.components
andAccountSessionCreateParams.components
- Change
AccountSession.components.payment_details.features.destination_on_behalf_of_charge_management
andAccountSession.components.payments.features.destination_on_behalf_of_charge_management
to be required - Change
Billing.MeterEventCreateParams.timestamp
andDispute.payment_method_details.card
to be optional - Change type of
Dispute.payment_method_details.card
fromDisputePaymentMethodDetailsCard | null
toDisputePaymentMethodDetailsCard
- Add support for new value
entitlements.active_entitlement_summary.updated
on enumEvent.type
- Remove support for
config
onForwarding.RequestCreateParams
andForwarding.Request
. This field is no longer used by the Forwarding Request API. - Add support for
capture_method
onPaymentIntent.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
swish
onPaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
, andPaymentMethodConfiguration
- Add support for new value
entitlements.active_entitlement_summary.updated
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for new resource
v15.1.0
-
#2062 Update generated code
- Add support for
account_management
andnotification_banner
onAccountSession.components
andAccountSessionCreateParams.components
- Add support for
external_account_collection
onAccountSession.components.account_onboarding.features
andAccountSessionCreateParams.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_unreachable
on 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.identifier
andBilling.MeterEventAdjustmentCreateParams.cancel
to be optional - Change
Billing.MeterEventAdjustmentCreateParams.type
to be required - Change type of
Billing.MeterEventAdjustment.cancel
fromBillingMeterResourceBillingMeterEventAdjustmentCancel
toBillingMeterResourceBillingMeterEventAdjustmentCancel | null
- Add support for
amazon_pay
onCharge.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
ownership
on 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_pay
on enumCheckout.SessionCreateParams.payment_method_types[]
- Add support for new values
bh_vat
,kz_bin
,ng_tin
, andom_vat
on 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_pay
on 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_pay
on enumsConfirmationToken.payment_method_preview.type
andPaymentMethod.type
- Add support for new values
bh_vat
,kz_bin
,ng_tin
, andom_vat
on 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_pay
on enumsCustomerListPaymentMethodsParams.type
,PaymentMethodCreateParams.type
, andPaymentMethodListParams.type
- Add support for
next_refresh_available_at
onFinancialConnections.Account.ownership_refresh
- Add support for new value
ownership
on 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
InvoiceitemCreatedEvent
toInvoiceItemCreatedEvent
- Rename event type
InvoiceitemDeletedEvent
toInvoiceItemDeletedEvent
- Rename
features
tomarketing_features
onProductCreateOptions
,ProductUpdateOptions
, andProduct
.
⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API
- Remove
subscription_pause
from 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
various
for 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_require
for the typeInvoiceCreateParams.PendingInvoiceItemsBehavior
- Remove the deprecated value
service_tax
for the typesTaxRate.TaxType
,TaxRateCreateParams.TaxType
,TaxRateUpdateParams.TaxType
, andInvoiceUpdateLineItemParams.TaxAmount.TaxRateData
- Remove
request_incremental_authorization
fromPaymentIntentCreateParams.PaymentMethodOptions.CardPresent
,PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent
andPaymentIntentConfirmParams.PaymentMethodOptions.CardPresent
- Remove support for
id_bank_transfer
,multibanco
,netbanking
,pay_by_bank
, andupi
onPaymentMethodConfiguration
- Remove the deprecated value
obligation
for the typeReporting.ReportRunCreateParams.Parameters.ReportingCategory
- Remove the deprecated value
challenge_only
from the typeSetupIntent.PaymentMethodOptions.Card.RequestThreeDSecure
- Remove the legacy field
rendering_options
inInvoice
,InvoiceCreateOptions
andInvoiceUpdateOptions
. Userendering
instead.
v14.25.0
-
#2059 Update generated code
- Add support for new resources
Entitlements.ActiveEntitlement
andEntitlements.Feature
- Add support for
list
andretrieve
methods on resourceActiveEntitlement
- Add support for
create
,list
,retrieve
, andupdate
methods on resourceFeature
- Add support for
controller
onAccountCreateParams
- Add support for
fees
,losses
,requirement_collection
, andstripe_dashboard
onAccount.controller
- Add support for new value
none
on enumAccount.type
- Add support for
event_name
onBilling.MeterEventAdjustmentCreateParams
andBilling.MeterEventAdjustment
- Add support for
cancel
andtype
onBilling.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.reference
to be required - Change type of
Checkout.SessionCreateParams.payment_method_options.swish.reference
fromemptyable(string)
tostring
- Add support for
subscription_item
onDiscount
- Add support for
email
andphone
onIdentity.VerificationReport
,Identity.VerificationSession.options
,Identity.VerificationSession.verified_outputs
,Identity.VerificationSessionCreateParams.options
, andIdentity.VerificationSessionUpdateParams.options
- Add support for
verification_flow
onIdentity.VerificationReport
,Identity.VerificationSessionCreateParams
, andIdentity.VerificationSession
- Add support for new value
verification_flow
on enumsIdentity.VerificationReport.type
andIdentity.VerificationSession.type
- Add support for
provided_details
onIdentity.VerificationSessionCreateParams
,Identity.VerificationSessionUpdateParams
, andIdentity.VerificationSession
- Change
Identity.VerificationSessionCreateParams.type
to be optional - Add support for new values
email_unverified_other
,email_verification_declined
,phone_unverified_other
, andphone_verification_declined
on enumIdentity.VerificationSession.last_error.code
- Add support for
promotion_code
onInvoiceCreateParams.discounts[]
,InvoiceItemCreateParams.discounts[]
,InvoiceItemUpdateParams.discounts[]
,InvoiceUpdateParams.discounts[]
,QuoteCreateParams.discounts[]
, andQuoteUpdateParams.discounts[]
- Add support for
discounts
onInvoiceUpcomingLinesParams.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.discounts
fromarray(expandable(deletable($Discount))) | null
toarray(expandable(deletable($Discount)))
- Add support for
allowed_merchant_countries
andblocked_merchant_countries
onIssuing.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
zip
onPaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
, andPaymentMethodConfiguration
- Add support for
offline
onSetupAttempt.payment_method_details.card_present
- Add support for
card_present
onSetupIntent.payment_method_options
,SetupIntentConfirmParams.payment_method_options
,SetupIntentCreateParams.payment_method_options
, andSetupIntentUpdateParams.payment_method_options
- Add support for new value
mobile_phone_reader
on enumsTerminal.Reader.device_type
andTerminal.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
, andupdate
methods on resourceMeter
- Add support for
create
method on resources `MeterEventAdju
- Add support for new resources
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 was generated by Mend Renovate. View the repository job log.