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.
Changelog
10.0.0 - 2022-08-01
Major version release for API version 2022-08-01. Default API version changed to "2022-08-01".
Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-node/wiki/Migration-guide-for-v10. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01.
"⚠️ " symbol highlights breaking changes.
business_profile
,business_type
,country
,default_currency
, andsettings
properties onAccount
resource to be nullable.currency
property onCheckout.Session
resource fromstring
to'cad' | 'usd'
.CreditNoteLineItemListPreviewParams
,CreditNoteLineItemListPreviewParams.Line
,CreditNoteLineItemListPreviewParams.Line.Type
, andCreditNoteLineItemListPreviewParams.Line.Reason
interfaces fromCreditNoteLineItems.d.ts
toCreditNotes.d.ts
.address
,currency
,delinquent
,discount
,invoice_prefix
,name
,phone
, andpreferred_locales
properties onCustomer
resource to be nullable.InvoiceRetrieveUpcomingParams
toInvoiceListUpcomingLinesParams
.AlipayAccount
,DeletedAlipayAccount
,BitcoinReceiver
,DeletedBitcoinReceiver
,BitcoinTransaction
, andBitcoinTransactionListParams
definitions.AlipayAccount
andBitcoinReceiver
fromCustomerSource
.Stripe.DeletedAlipayAccount
andStripe.DeletedBitcoinReceiver
from possible values ofsource
property inPaymentIntent
.IssuerFraudRecord
,IssuerFraudRecordRetrieveParams
,IssuerFraudRecordListParams
, andIssuerFraudRecordsResource
, definitions.treasury.received_credit.reversed
webhook event constant. Please usetreasury.received_credit.returned
instead.order.payment_failed
,transfer.failed
, andtransfer.paid
. The events were deprecated.retrieveDetails
method fromIssuing.Card
resource. The method was unsupported. Read more at https://stripe.com/docs/issuing/cards/virtual.Issuing.CardDetails
andCardRetrieveDetailsParams
definition.IssuerFraudRecords
resource.Recipient
resource andrecipient
property fromCard
resource.InvoiceMarkUncollectibleParams
definition.Stripe.Errors
andStripeError
(and derivedStripeCardError
,StripeInvalidRequestError
,StripeAPIError
,StripeAuthenticationError
,StripePermissionError
,StripeRateLimitError
,StripeConnectionError
,StripeSignatureVerificationError
,StripeIdempotencyError
, andStripeInvalidGrantError
) definitions.redirect_url
fromLoginLinks
definition. The property is no longer supported.LineItemListParams
definition. The interface was no longer in use.listUpcomingLineItems
method onInvoice
resource tolistUpcomingLines
.InvoiceLineItemListUpcomingParams
toInvoiceListUpcomingLinesParams
.InvoiceRetrieveUpcomingParams
toInvoiceListUpcomingLinesParams
.