fix(deps): update dependency stripe to v18 #1301
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
12.18.0
->18.0.0
Release Notes
stripe/stripe-node (stripe)
v18.0.0
Compare Source
#2279 Support for APIs in the new API version 2025-03-31.basil
This release changes the pinned API version to
2025-03-31.basil
.Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.
SubscriptionItemUsageRecordSummary
andSubscriptionItemUsageRecord
listUpcomingLines
andretrieveUpcoming
methods on resourceInvoice
createUsageRecord
andlistUsageRecordSummaries
methods on resourceSubscriptionItems
invoice
onCharge
andPaymentIntent
shipping_details
onCheckout.Session
carrier
,phone
, andtracking_number
onCheckout.Session.collected_information.shipping_details
. Makename
andaddress
required instead of optional.refund
onCreditNoteCreateParams
,CreditNoteListPreviewLineItemsParams
,CreditNotePreviewParams
, andCreditNote
tax_amounts
onCreditNoteLineItem
,CreditNote
, andInvoiceLineItem
amount_excluding_tax
andunit_amount_excluding_tax
onCreditNoteLineItem
andInvoiceLineItem
coupon
onCustomerCreateParams
,CustomerUpdateParams
,InvoiceCreatePreviewParams.schedule_details.phases[]
,InvoiceCreatePreviewParams
,SubscriptionCreateParams
,SubscriptionSchedule.phases[]
,SubscriptionScheduleCreateParams.phases[]
,SubscriptionScheduleUpdateParams.phases[]
, andSubscriptionUpdateParams
promotion_code
onCustomerCreateParams
,CustomerUpdateParams
,SubscriptionCreateParams
, andSubscriptionUpdateParams
price
onInvoiceAddLinesParams.lines[]
,InvoiceItemCreateParams
,InvoiceItemUpdateParams
,InvoiceItem
,InvoiceLineItemUpdateParams
,InvoiceLineItem
, andInvoiceUpdateLinesParams.lines[]. Use
pricing` instead.billing_thresholds
onInvoiceCreatePreviewParams.schedule_details.phases[].items[]
,InvoiceCreatePreviewParams.schedule_details.phases[]
,InvoiceCreatePreviewParams.subscription_details.items[]
,SubscriptionCreateParams.items[]
,SubscriptionCreateParams
,SubscriptionItemCreateParams
,SubscriptionItemUpdateParams
,SubscriptionItem
,SubscriptionSchedule.default_settings
,SubscriptionSchedule.phases[].items[]
,SubscriptionSchedule.phases[]
,SubscriptionScheduleCreateParams.default_settings
,SubscriptionScheduleCreateParams.phases[].items[]
,SubscriptionScheduleCreateParams.phases[]
,SubscriptionScheduleUpdateParams.default_settings
,SubscriptionScheduleUpdateParams.phases[].items[]
,SubscriptionScheduleUpdateParams.phases[]
,SubscriptionUpdateParams.items[]
,SubscriptionUpdateParams
, andSubscription
application_fee_amount
,charge
,paid_out_of_band
,paid
,payment_intent
,quote
,subscription
,subscription_details
,subscription_proration_date
,tax
,total_tax_amounts
, andtransfer_data
onInvoice
discount
onInvoice
andSubscription
invoice_item
,proration_details
,proration
,tax_rates
, andtype
onInvoiceLineItem
plan
andsubscription_item
onInvoiceItem
andInvoiceLineItem
unit_amount
onInvoiceItemCreateParams
,InvoiceItemUpdateParams
, andInvoiceItem
subscription
andunit_amount_decimal
onInvoiceItem
naver_pay
onPaymentMethodUpdateParams
aggregate_usage
onPlanCreateParams
,Plan
,Price.recurring
, andPriceCreateParams.recurring
current_period_end
andcurrent_period_start
onSubscription
page
has been removed from all V2 list method params (e.g.EventService.list()
); use the auto paginator or thenext_page_url
andprevious_page_url
fields instead (more info)Changes
Checkout.Session.collected_information
to be requiredCheckout.Session.collected_information.shipping_details
to be requiredCheckout.Session.collected_information.shipping_details.address
to be requiredCheckout.Session.collected_information.shipping_details.name
to be requiredPaymentIntentConfirmParams.payment_method_options.wechat_pay.client
,PaymentIntentCreateParams.payment_method_options.wechat_pay.client
, andPaymentIntentUpdateParams.payment_method_options.wechat_pay.client
to be optionalpolitical_exposure
on resourcesPerson
andToken
and paramsToken.CreateParams
from string to enum("existing" | "none")Additions
InvoicePayment
list
andretrieve
methods on resourceInvoicePayment
billie_payments
,nz_bank_account_becs_debit_payments
, andsatispay_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
hosted_payment_method_save
onAccount.settings.invoices
andAccountUpdateParams.settings.invoices
invoices
onAccountCreateParams.settings
information_missing
,invalid_signator
,verification_failed_authorizer_authority
, andverification_rejected_ownership_exemption_reason
on enumsAccount.future_requirements.errors[].code
,Account.requirements.errors[].code
,AccountCapability.future_requirements.errors[].code
,AccountCapability.requirements.errors[].code
,AccountPerson.future_requirements.errors[].code
,AccountPerson.requirements.errors[].code
,BankAccount.future_requirements.errors[].code
, andBankAccount.requirements.errors[].code
forwarding_api_retryable_upstream_error
andsetup_intent_mobile_wallet_unsupported
on enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
stripe_balance_payment_debit_reversal
andstripe_balance_payment_debit
on enumBalanceTransaction.type
last
on enumsBilling.Meter.default_aggregation.formula
andBilling.MeterCreateParams.default_aggregation.formula
presentment_details
onCharge
,Checkout.Session
,PaymentIntent
, andRefund
billie
andsatispay
onCharge.payment_method_details
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.testHelpers.payment_method_data
,CustomerPaymentMethod
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_data
,PaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
,PaymentMethodConfiguration
,PaymentMethodCreateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
nz_bank_account
onCharge.payment_method_details
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.testHelpers.payment_method_data
,CustomerPaymentMethod
,Mandate.payment_method_details
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
,PaymentMethodConfiguration
,PaymentMethodCreateParams
,PaymentMethod
,SetupAttempt.payment_method_details
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
optional_items
onCheckout.SessionCreateParams
,Checkout.Session
,PaymentLinkCreateParams
, andPaymentLink
permissions
onCheckout.SessionCreateParams
andCheckout.Session
billie
andsatispay
on enumCheckout.SessionCreateParams.payment_method_types
custom
on enumsCheckout.Session.ui_mode
andCheckout.SessionCreateParams.ui_mode
shipping_options
onCheckout.SessionUpdateParams
billie
,nz_bank_account
, andsatispay
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
buyer_id
onConfirmationToken.payment_method_preview.naver_pay
,CustomerPaymentMethod.naver_pay
, andPaymentMethod.naver_pay
billie
,nz_bank_account
, andsatispay
on enumsConfirmationToken.payment_method_preview.type
,CustomerPaymentMethod.type
, andPaymentMethod.type
refunds
onCreditNoteCreateParams
,CreditNoteListPreviewLineItemsParams
,CreditNotePreviewParams
, andCreditNote
total_taxes
onCreditNote
andInvoice
taxes
onCreditNoteLineItem
andInvoiceLineItem
checkout_session
onCustomerBalanceTransaction
checkout_session_subscription_payment_canceled
andcheckout_session_subscription_payment
on enumCustomerBalanceTransaction.type
billie
,nz_bank_account
, andsatispay
on enumsCustomerPaymentMethodListParams.type
,PaymentMethodCreateParams.type
, andPaymentMethodListParams.type
invoice.overpaid
on enumEvent.type
klarna
andnz_bank_account
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
pricing
onInvoiceAddLinesParams.lines[]
,InvoiceItemCreateParams
,InvoiceItemUpdateParams
,InvoiceItem
,InvoiceLineItemUpdateParams
,InvoiceLineItem
, andInvoiceUpdateLinesParams.lines[]
taxability_reason
onInvoiceAddLinesParams.lines[].tax_amounts[]
,InvoiceLineItemUpdateParams.tax_amounts[]
, andInvoiceUpdateLinesParams.lines[].tax_amounts[]
jurisdiction_level
onInvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data
,InvoiceLineItemUpdateParams.tax_amounts[].tax_rate_data
, andInvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data
amount_overpaid
,confirmation_secret
, andpayments
onInvoice
parent
onInvoiceItem
,InvoiceLineItem
, andInvoice
expired
on enumsIssuing.Authorization.status
andIssuing.AuthorizationListParams.status
network_fallback
on enumIssuing.Authorization.request_history[].reason
naver_pay
onMandate.payment_method_details
andSetupAttempt.payment_method_details
setup_future_usage
onPaymentIntent.payment_method_options.naver_pay
,PaymentIntentConfirmParams.payment_method_options.naver_pay
,PaymentIntentCreateParams.payment_method_options.naver_pay
, andPaymentIntentUpdateParams.payment_method_options.naver_pay
expired
on enumPaymentIntent.cancellation_reason
default_value
onPaymentLink.custom_fields[].dropdown
,PaymentLink.custom_fields[].numeric
,PaymentLink.custom_fields[].text
,PaymentLinkCreateParams.custom_fields[].dropdown
,PaymentLinkCreateParams.custom_fields[].numeric
,PaymentLinkCreateParams.custom_fields[].text
,PaymentLinkUpdateParams.custom_fields[].dropdown
,PaymentLinkUpdateParams.custom_fields[].numeric
, andPaymentLinkUpdateParams.custom_fields[].text
billie
andsatispay
on enumsPaymentLink.payment_method_types
,PaymentLinkCreateParams.payment_method_types
, andPaymentLinkUpdateParams.payment_method_types
nz_bank_transfer
onRefund.destination_details
canceled
on enumReview.closed_reason
current_period_end
andcurrent_period_start
onSubscriptionItem
wifi
onTerminal.ConfigurationCreateParams
,Terminal.ConfigurationUpdateParams
, andTerminal.Configuration
invoice.overpaid
on enumsWebhookEndpointCreateParams.enabled_events
andWebhookEndpointUpdateParams.enabled_events
2025-03-01.dashboard
and2025-03-31.basil
on enumWebhookEndpointCreateParams.api_version
Stripe.webhooks
andStripe().webhooks
are no longer functions (just plain objects)Stripe.webhooks().someMethod()
, you should useStripe.webhooks.someMethod()
insteadAccountDebitSource
in favor ofAccount
CapabilityListParams
in favor ofAccountListCapabilitiesParams
CapabilityRetrieveParams
in favor ofAccountRetrieveCapabilityParams
CapabilityUpdateParams
in favor ofAccountUpdateCapabilityParams
CashBalanceRetrieveParams
in favor ofCustomerRetrieveCashBalanceParams
CashBalanceUpdateParams
in favor ofCustomerUpdateCashBalanceParams
CreditNoteLineItemListParams
in favor ofCreditNoteListLineItemsParams
CustomerBalanceTransactionCreateParams
in favor ofCustomerCreateBalanceTransactionParams
CustomerBalanceTransactionListParams
in favor ofCustomerListBalanceTransactionsParams
CustomerBalanceTransactionRetrieveParams
in favor ofCustomerRetrieveBalanceTransactionParams
CustomerBalanceTransactionUpdateParams
in favor ofCustomerUpdateBalanceTransactionParams
CustomerCashBalanceTransactionListParams
in favor ofCustomerListCashBalanceTransactionsParams
CustomerCashBalanceTransactionRetrieveParams
in favor ofCustomerRetrieveCashBalanceTransactionParams
CustomerSourceCreateParams
in favor ofCustomerCreateSourceParams
CustomerSourceDeleteParams
in favor ofCustomerDeleteSourceParams
CustomerSourceListParams
in favor ofCustomerListSourcesParams
CustomerSourceRetrieveParams
in favor ofCustomerRetrieveSourceParams
CustomerSourceUpdateParams
in favor ofCustomerUpdateSourceParams
CustomerSourceVerifyParams
in favor ofCustomerVerifySourceParams
ExternalAccountCreateParams
in favor ofAccountCreateExternalAccountParams
ExternalAccountDeleteParams
in favor ofAccountDeleteExternalAccountParams
ExternalAccountListParams
in favor ofAccountListExternalAccountsParams
ExternalAccountRetrieveParams
in favor ofAccountRetrieveExternalAccountParams
ExternalAccountUpdateParams
in favor ofAccountUpdateExternalAccountParams
FeeRefundCreateParams
in favor ofApplicationFeeCreateRefundParams
FeeRefundListParams
in favor ofApplicationFeeListRefundsParams
FeeRefundRetrieveParams
in favor ofApplicationFeeRetrieveRefundParams
FeeRefundUpdateParams
in favor ofApplicationFeeUpdateRefundParams
InvoiceLineItemListParams
in favor ofInvoiceListLineItemsParams
InvoiceLineItemUpdateParams
in favor ofInvoiceUpdateLineItemParams
LoginLinkCreateParams
in favor ofAccountCreateLoginLinkParams
PersonCreateParams
in favor ofAccountCreatePersonParams
PersonDeleteParams
in favor ofAccountDeletePersonParams
PersonListParams
in favor ofAccountListPersonsParams
PersonRetrieveParams
in favor ofAccountRetrievePersonParams
PersonUpdateParams
in favor ofAccountUpdatePersonParams
TransferReversalCreateParams
in favor ofTransferCreateReversalParams
TransferReversalListParams
in favor ofTransferListReversalsParams
TransferReversalRetrieveParams
in favor ofTransferRetrieveReversalParams
TransferReversalUpdateParams
in favor ofTransferUpdateReversalParams
v17.7.0
Compare Source
prices
onBilling.CreditBalanceSummaryRetrieveParams.filter.applicability_scope
,Billing.CreditGrant.applicability_config.scope
, andBilling.CreditGrantCreateParams.applicability_config.scope
Billing.CreditBalanceSummaryRetrieveParams.filter.applicability_scope.price_type
,Billing.CreditGrant.applicability_config.scope.price_type
, andBilling.CreditGrantCreateParams.applicability_config.scope.price_type
to be optionalpriority
onBilling.CreditGrantCreateParams
andBilling.CreditGrant
target_date
onCheckout.Session.payment_method_options.acss_debit
,Checkout.Session.payment_method_options.au_becs_debit
,Checkout.Session.payment_method_options.bacs_debit
,Checkout.Session.payment_method_options.sepa_debit
,Checkout.Session.payment_method_options.us_bank_account
,Checkout.SessionCreateParams.payment_method_options.acss_debit
,Checkout.SessionCreateParams.payment_method_options.au_becs_debit
,Checkout.SessionCreateParams.payment_method_options.bacs_debit
,Checkout.SessionCreateParams.payment_method_options.sepa_debit
,Checkout.SessionCreateParams.payment_method_options.us_bank_account
,PaymentIntent.payment_method_options.acss_debit
,PaymentIntent.payment_method_options.au_becs_debit
,PaymentIntent.payment_method_options.bacs_debit
,PaymentIntent.payment_method_options.sepa_debit
,PaymentIntent.payment_method_options.us_bank_account
,PaymentIntentConfirmParams.payment_method_options.acss_debit
,PaymentIntentConfirmParams.payment_method_options.au_becs_debit
,PaymentIntentConfirmParams.payment_method_options.bacs_debit
,PaymentIntentConfirmParams.payment_method_options.sepa_debit
,PaymentIntentConfirmParams.payment_method_options.us_bank_account
,PaymentIntentCreateParams.payment_method_options.acss_debit
,PaymentIntentCreateParams.payment_method_options.au_becs_debit
,PaymentIntentCreateParams.payment_method_options.bacs_debit
,PaymentIntentCreateParams.payment_method_options.sepa_debit
,PaymentIntentCreateParams.payment_method_options.us_bank_account
,PaymentIntentUpdateParams.payment_method_options.acss_debit
,PaymentIntentUpdateParams.payment_method_options.au_becs_debit
,PaymentIntentUpdateParams.payment_method_options.bacs_debit
,PaymentIntentUpdateParams.payment_method_options.sepa_debit
, andPaymentIntentUpdateParams.payment_method_options.us_bank_account
restrictions
onCheckout.Session.payment_method_options.card
andCheckout.SessionCreateParams.payment_method_options.card
collected_information
onCheckout.SessionUpdateParams
andCheckout.Session
Checkout.Session.discounts
,Refund.destination_details.blik.network_decline_code
, andRefund.destination_details.swish.network_decline_code
to be requiredmetadata
onProductCreateParams.default_price_data
TokenCreateParams.person.political_exposure
fromstring
toenum('existing'|'none')
2025-02-24.acacia
on enumWebhookEndpointCreateParams.api_version
OPENAPI_VERSION
into npm bundlev17.6.0
Compare Source
close
method on resourceTreasury.FinancialAccount
pay_by_bank_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
directorship_declaration
andownership_exemption_reason
onAccount.company
,AccountCreateParams.company
,AccountUpdateParams.company
, andTokenCreateParams.account.company
proof_of_ultimate_beneficial_ownership
onAccountCreateParams.documents
andAccountUpdateParams.documents
financial_account
onAccountSession.components
,AccountSessionCreateParams.components
, andTreasury.OutboundTransfer.destination_payment_method_details
financial_account_transactions
,issuing_card
, andissuing_cards_list
onAccountSession.components
andAccountSessionCreateParams.components
advice_code
onCharge.outcome
,Invoice.last_finalization_error
,PaymentIntent.last_payment_error
,SetupAttempt.setup_error
,SetupIntent.last_setup_error
, andStripeError
Billing.CreditBalanceTransaction.credit.credits_application_invoice_voided
,Card.regulated_status
,Charge.payment_method_details.card.network_transaction_id
,Charge.payment_method_details.card.regulated_status
,ConfirmationToken.payment_method_preview.card.regulated_status
,CreditNote.pretax_credit_amounts
,Invoice.total_pretax_credit_amounts
,Issuing.Authorization.merchant_data.tax_id
,Issuing.Transaction.merchant_data.tax_id
, andPaymentMethod.card.regulated_status
to be requiredpay_by_bank
onCharge.payment_method_details
,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
,PaymentMethodUpdateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
country
onCharge.payment_method_details.paypal
,ConfirmationToken.payment_method_preview.paypal
, andPaymentMethod.paypal
pay_by_bank
on enumsCheckout.SessionCreateParams.payment_method_types[]
,CustomerListPaymentMethodsParams.type
,PaymentMethodCreateParams.type
, andPaymentMethodListParams.type
SD
on enumsCheckout.Session.shipping_address_collection.allowed_countries[]
,Checkout.SessionCreateParams.shipping_address_collection.allowed_countries[]
,PaymentLink.shipping_address_collection.allowed_countries[]
,PaymentLinkCreateParams.shipping_address_collection.allowed_countries[]
, andPaymentLinkUpdateParams.shipping_address_collection.allowed_countries[]
discounts
onCheckout.Session
pay_by_bank
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
pay_by_bank
on enumsConfirmationToken.payment_method_preview.type
andPaymentMethod.type
pay_by_bank
on enumsPaymentLink.payment_method_types[]
,PaymentLinkCreateParams.payment_method_types[]
, andPaymentLinkUpdateParams.payment_method_types[]
phone_number_collection
onPaymentLinkUpdateParams
jpy
onTerminal.Configuration.tipping
,Terminal.ConfigurationCreateParams.tipping
, andTerminal.ConfigurationUpdateParams.tipping
nickname
onTreasury.FinancialAccountCreateParams
,Treasury.FinancialAccountUpdateParams
, andTreasury.FinancialAccount
forwarding_settings
onTreasury.FinancialAccountUpdateParams
is_default
onTreasury.FinancialAccount
destination_payment_method_data
onTreasury.OutboundTransferCreateParams
Treasury.OutboundTransfer.destination_payment_method_details.type
fromliteral('us_bank_account')
toenum('financial_account'|'us_bank_account')
outbound_transfer
on enumsTreasury.ReceivedCredit.linked_flows.source_flow_details.type
andTreasury.ReceivedCreditListParams.linked_flows.source_flow_type
outbound_transfer
onTreasury.ReceivedCredit.linked_flows.source_flow_details
2025-01-27.acacia
on enumWebhookEndpointCreateParams.api_version
v17.5.0
Compare Source
2024-12-18.acacia
.Account.business_profile.annual_revenue
andAccount.business_profile.estimated_worker_count
to be optionalnetwork_advice_code
andnetwork_decline_code
onCharge.outcome
,Invoice.last_finalization_error
,PaymentIntent.last_payment_error
,SetupAttempt.setup_error
,SetupIntent.last_setup_error
, andStripeError
payout_minimum_balance_hold
andpayout_minimum_balance_release
on enumBalanceTransaction.type
credits_application_invoice_voided
onBilling.CreditBalanceTransaction.credit
Billing.CreditBalanceTransaction.credit.type
fromliteral('credits_granted')
toenum('credits_application_invoice_voided'|'credits_granted')
BillingPortal.Configuration.features.subscription_update.schedule_at_period_end
,Issuing.Authorization.verified_by_fraud_challenge
,LineItem.description
, andPayout.trace_id
to be requiredallow_redisplay
onCard
andSource
regulated_status
onCard
,Charge.payment_method_details.card
,ConfirmationToken.payment_method_preview.card
, andPaymentMethod.card
funding
onCharge.payment_method_details.amazon_pay
andCharge.payment_method_details.revolut_pay
network_transaction_id
onCharge.payment_method_details.card
reference_prefix
onCheckout.Session.payment_method_options.bacs_debit.mandate_options
,Checkout.Session.payment_method_options.sepa_debit.mandate_options
,Checkout.SessionCreateParams.payment_method_options.bacs_debit.mandate_options
,Checkout.SessionCreateParams.payment_method_options.sepa_debit.mandate_options
,PaymentIntent.payment_method_options.bacs_debit.mandate_options
,PaymentIntent.payment_method_options.sepa_debit.mandate_options
,PaymentIntentConfirmParams.payment_method_options.bacs_debit.mandate_options
,PaymentIntentConfirmParams.payment_method_options.sepa_debit.mandate_options
,PaymentIntentCreateParams.payment_method_options.bacs_debit.mandate_options
,PaymentIntentCreateParams.payment_method_options.sepa_debit.mandate_options
,PaymentIntentUpdateParams.payment_method_options.bacs_debit.mandate_options
,PaymentIntentUpdateParams.payment_method_options.sepa_debit.mandate_options
,SetupIntent.payment_method_options.bacs_debit.mandate_options
,SetupIntent.payment_method_options.sepa_debit.mandate_options
,SetupIntentConfirmParams.payment_method_options.bacs_debit.mandate_options
,SetupIntentConfirmParams.payment_method_options.sepa_debit.mandate_options
,SetupIntentCreateParams.payment_method_options.bacs_debit.mandate_options
,SetupIntentCreateParams.payment_method_options.sepa_debit.mandate_options
,SetupIntentUpdateParams.payment_method_options.bacs_debit.mandate_options
, andSetupIntentUpdateParams.payment_method_options.sepa_debit.mandate_options
al_tin
,am_tin
,ao_tin
,ba_tin
,bb_tin
,bs_tin
,cd_nif
,gn_nif
,kh_tin
,me_pib
,mk_vat
,mr_nif
,np_pan
,sn_ninea
,sr_fin
,tj_tin
,ug_tin
,zm_tin
, andzw_tin
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
al_tin
,am_tin
,ao_tin
,ba_tin
,bb_tin
,bs_tin
,cd_nif
,gn_nif
,kh_tin
,me_pib
,mk_vat
,mr_nif
,np_pan
,sn_ninea
,sr_fin
,tj_tin
,ug_tin
,zm_tin
, andzw_tin
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
visa_compliance
onDispute.evidence.enhanced_evidence
,Dispute.evidence_details.enhanced_eligibility
, andDisputeUpdateParams.evidence.enhanced_evidence
request_signature
on enumsForwarding.Request.replacements[]
andForwarding.RequestCreateParams.replacements[]
account_holder_address
andbank_address
onFundingInstructions.bank_transfer.financial_addresses[].iban
,FundingInstructions.bank_transfer.financial_addresses[].sort_code
,FundingInstructions.bank_transfer.financial_addresses[].spei
,FundingInstructions.bank_transfer.financial_addresses[].zengin
,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].iban
,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].sort_code
,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].spei
, andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].zengin
account_holder_name
onFundingInstructions.bank_transfer.financial_addresses[].spei
andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].spei
disabled_reason
onInvoice.automatic_tax
,Subscription.automatic_tax
,SubscriptionSchedule.default_settings.automatic_tax
, andSubscriptionSchedule.phases[].automatic_tax
tax_id
onIssuing.Authorization.merchant_data
andIssuing.Transaction.merchant_data
LineItem.description
fromstring
tostring | null
trial_period_days
onPaymentLinkUpdateParams.subscription_data
al
,am
,ao
,ba
,bb
,bs
,cd
,gn
,kh
,me
,mk
,mr
,np
,pe
,sn
,sr
,tj
,ug
,uy
,zm
, andzw
onTax.Registration.country_options
andTax.RegistrationCreateParams.country_options
2024-12-18.acacia
on enumWebhookEndpointCreateParams.api_version
v17.4.0
Compare Source
2024-11-20.acacia
.respond
test helper method on resourceIssuing.Authorization
authorizer
onAccountPersonsParams.relationship
andTokenCreateParams.person.relationship
Account.future_requirements.disabled_reason
andAccount.requirements.disabled_reason
fromstring
toenum
AccountSession.components.account_management.features.disable_stripe_user_authentication
,AccountSession.components.account_onboarding.features.disable_stripe_user_authentication
,AccountSession.components.balances.features.disable_stripe_user_authentication
,AccountSession.components.notification_banner.features.disable_stripe_user_authentication
, andAccountSession.components.payouts.features.disable_stripe_user_authentication
to be requiredadaptive_pricing
onCheckout.SessionCreateParams
andCheckout.Session
mandate_options
onCheckout.Session.payment_method_options.bacs_debit
,Checkout.Session.payment_method_options.sepa_debit
,Checkout.SessionCreateParams.payment_method_options.bacs_debit
, andCheckout.SessionCreateParams.payment_method_options.sepa_debit
request_extended_authorization
,request_incremental_authorization
,request_multicapture
, andrequest_overcapture
onCheckout.Session.payment_method_options.card
andCheckout.SessionCreateParams.payment_method_options.card
capture_method
onCheckout.SessionCreateParams.payment_method_options.kakao_pay
,Checkout.SessionCreateParams.payment_method_options.kr_card
,Checkout.SessionCreateParams.payment_method_options.naver_pay
,Checkout.SessionCreateParams.payment_method_options.payco
, andCheckout.SessionCreateParams.payment_method_options.samsung_pay
subscribe
on enumsCheckout.Session.submit_type
,Checkout.SessionCreateParams.submit_type
,PaymentLink.submit_type
, andPaymentLinkCreateParams.submit_type
li_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
li_vat
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
financial_account_statement
on enumsFile.purpose
andFileListParams.purpose
account_holder_address
,account_holder_name
,account_type
, andbank_address
onFundingInstructions.bank_transfer.financial_addresses[].aba
,FundingInstructions.bank_transfer.financial_addresses[].swift
,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].aba
, andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].swift
service_tax
on enumsInvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type
,InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type
,Tax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type
,Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type
,Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type
,Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type
,TaxRate.tax_type
,TaxRateCreateParams.tax_type
, andTaxRateUpdateParams.tax_type
merchant_amount
andmerchant_currency
onIssuing.AuthorizationCreateParams.testHelpers
Issuing.AuthorizationCreateParams.testHelpers.amount
to be optionalfraud_challenges
andverified_by_fraud_challenge
onIssuing.Authorization
link
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
submit_type
onPaymentLinkUpdateParams
trace_id
onPayout
network_decline_code
onRefund.destination_details.blik
andRefund.destination_details.swish
Treasury.InboundTransfer.origin_payment_method
fromstring
tostring | null
2024-11-20.acacia
on enumWebhookEndpointCreateParams.api_version
Stripe.V2.BillingResource
,Stripe.V2.CoreResource
, andStripe.V2Resource
types from the public interface as they are no longer needed. SDK usage will not be affected but any references to these types in your application will need to be removed.v17.3.1
Compare Source
latestapiversion
was not updated to2024-10-28.acacia
in the last release.v17.3.0
Compare Source
2024-10-28.acacia
.V2.EventDestinations
create
,retrieve
,update
,list
,del
,disable
,enable
andping
methods on resourceV2.EventDestinations
submit_card
test helper method on resourceIssuing.Card
groups
onAccountCreateParams
,AccountUpdateParams
, andAccount
alma_payments
,kakao_pay_payments
,kr_card_payments
,naver_pay_payments
,payco_payments
, andsamsung_pay_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
disable_stripe_user_authentication
onAccountSession.components.account_management.features
,AccountSession.components.account_onboarding.features
,AccountSession.components.balances.features
,AccountSession.components.notification_banner.features
,AccountSession.components.payouts.features
,AccountSessionCreateParams.components.account_management.features
,AccountSessionCreateParams.components.account_onboarding.features
,AccountSessionCreateParams.components.balances.features
,AccountSessionCreateParams.components.notification_banner.features
, andAccountSessionCreateParams.components.payouts.features
schedule_at_period_end
onBillingPortal.Configuration.features.subscription_update
,BillingPortal.ConfigurationCreateParams.features.subscription_update
, andBillingPortal.ConfigurationUpdateParams.features.subscription_update
BillingPortal.ConfigurationCreateParams.business_profile
andRefund.next_action.display_details
to be optionalalma
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
,PaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
,PaymentMethodConfiguration
,PaymentMethodCreateParams
,PaymentMethod
,Refund.destination_details
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
kakao_pay
andkr_card
onCharge.payment_method_details
,Checkout.Session.payment_method_options
,Checkout.SessionCreateParams.payment_method_options
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.testHelpers.payment_method_data
,Mandate.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
,SetupAttempt.payment_method_details
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
naver_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
,PaymentMethodCreateParams
,PaymentMethodUpdateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
payco
andsamsung_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
,PaymentMethodCreateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
alma
,kakao_pay
,kr_card
,naver_pay
,payco
, andsamsung_pay
on enumsCheckout.SessionCreateParams.payment_method_types[]
,CustomerListPaymentMethodsParams.type
,PaymentMethodCreateParams.type
, andPaymentMethodListParams.type
by_tin
,ma_vat
,md_vat
,tz_vat
,uz_tin
, anduz_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
alma
,kakao_pay
,kr_card
,naver_pay
,payco
, andsamsung_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
alma
,kakao_pay
,kr_card
,naver_pay
,payco
, andsamsung_pay
on enumsConfirmationToken.payment_method_preview.type
andPaymentMethod.type
auto
on enumCustomerUpdateParams.tax.validate_location
by_tin
,ma_vat
,md_vat
,tz_vat
,uz_tin
, anduz_vat
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
enhanced_evidence
onDispute.evidence
andDisputeUpdateParams.evidence
enhanced_eligibility_types
onDispute
enhanced_eligibility
onDispute.evidence_details
issuing_transaction.purchase_details_receipt_updated
andrefund.failed
on enumEvent.type
metadata
onForwarding.RequestCreateParams
andForwarding.Request
automatically_finalizes_at
onInvoiceCreateParams
andInvoiceUpdateParams
jp_credit_transfer
,kakao_pay
,kr_card
,naver_pay
, andpayco
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[]
retail_delivery_fee
on enumsInvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type
,InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type
,Tax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type
,Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type
,Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type
,Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type
,TaxRate.tax_type
,TaxRateCreateParams.tax_type
, andTaxRateUpdateParams.tax_type
alma
on enumsPaymentLink.payment_method_types[]
,PaymentLinkCreateParams.payment_method_types[]
, andPaymentLinkUpdateParams.payment_method_types[]
amazon_pay
onPaymentMethodDomain
Refund.next_action.display_details
fromRefundNextActionDisplayDetails | null
toRefundNextActionDisplayDetails
flat_amount
andrate_type
onTax.Calculation.tax_breakdown[].tax_rate_details
andTaxRate
by
,cr
,ec
,ma
,md
,rs
,ru
,tz
, anduz
onTax.Registration.country_options
andTax.RegistrationCreateParams.country_options
state_retail_delivery_fee
on enumsTax.Registration.country_options.us.type
andTax.RegistrationCreateParams.country_options.us.type
pln
onTerminal.Configuration.tipping
,Terminal.ConfigurationCreateParams.tipping
, andTerminal.ConfigurationUpdateParams.tipping
issuing_transaction.purchase_details_receipt_updated
andrefund.failed
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
2024-10-28.acacia
on enumWebhookEndpointCreateParams.api_version
v17.2.1
Compare Source
#2210 update object tags for meter-related classes
object
property of theMeterEvent
,MeterEventAdjustment
, andMeterEventSession
didn't match the server.#2208 Update signature verification docs link
v17.2.0
Compare Source
fetchRelatedObject
is added to events retrieved usingstripe.v2.core.events
and can be used to easily fetch the Stripe object related to a retrieved eventv17.1.0
Compare Source
Margin
that was accidentally made public in the last releasev17.0.0
Compare Source
#2192 Support for APIs in the new API version 2024-09-30.acacia
This release changes the pinned API version to
2024-09-30.acacia
. Please read the API Upgrade Guide and carefully review the API changes before upgrading.usage_threshold_config
tousage_threshold
onBilling.AlertCreateParams
andBilling.Alert
filter
onBilling.AlertCreateParams
andBilling.Alert
. Use the filters on theusage_threshold
insteadcustomer_consent_collected
onTerminal.ReaderProcessSetupIntentParams
.1
->2
2
->5
Additions
custom_unit_amount
onProductCreateParams.default_price_data
allow_redisplay
onTerminal.ReaderProcessPaymentIntentParams.process_config
andTerminal.ReaderProcessSetupIntentParams
international_transaction
on enumTreasury.ReceivedCredit.failure_code
2024-09-30.acacia
on enumWebhookEndpointCreateParams.api_version
Billing.MeterEvent
,Billing.MeterEventAdjustments
,Billing.MeterEventSession
,Billing.MeterEventStream
and the new Events APICore.Events
in the v2 namespaceparseThinEvent()
on theStripe
class to parse thin events.Stripe
class that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK.Changes
BillingPortal.ConfigurationCreateParams.features.subscription_update.default_allowed_updates
andBillingPortal.ConfigurationCreateParams.features.subscription_update.products
to be optionalv16.12.0
Compare Source
international_transaction
on enumTreasury.ReceivedDebit.failure_code
verification_supportability
on enumsAccount.future_requirements.errors[].code
,Account.requirements.errors[].code
,BankAccount.future_requirements.errors[].code
, andBankAccount.requirements.errors[].code
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
payer_details
onCharge.payment_method_details.klarna
amazon_pay
onDispute.payment_method_details
amazon_pay
on enumDispute.payment_method_details.type
automatically_finalizes_at
onInvoice
state_sales_tax
onTax.Registration.country_options.us
andTax.RegistrationCreateParams.country_options.us
v16.11.0
Compare Source
InvoiceRenderingTemplate
archive
,list
,retrieve
, andunarchive
methods on resourceInvoiceRenderingTemplate
required
onCheckout.Session.tax_id_collection
,Checkout.SessionCreateParams.tax_id_collection
,PaymentLink.tax_id_collection
,PaymentLinkCreateParams.tax_id_collection
, andPaymentLinkUpdateParams.tax_id_collection
template
onCustomer.invoice_settings.rendering_options
,CustomerCreateParams.invoice_settings.rendering_options
,CustomerUpdateParams.invoice_settings.rendering_options
,Invoice.rendering
,InvoiceCreateParams.rendering
, andInvoiceUpdateParams.rendering
template_version
onInvoice.rendering
,InvoiceCreateParams.rendering
, andInvoiceUpdateParams.rendering
submitted
on enumIssuing.Card.shipping.status
TestHelpers.TestClock.status_details
to be requiredConfiguration
📅 Schedule: Branch creation - "* * * * 1-5" (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.
This PR was generated by Mend Renovate. View the repository job log.