-
Notifications
You must be signed in to change notification settings - Fork 755
Migration guide for v10
Kamil Pajdzik edited this page Oct 6, 2022
·
2 revisions
Major version release for API version 2020-08-27. "
- Change type of
business_profile
,business_type
,country
,default_currency
, andsettings
properties onAccount
resource to be nullable. - Change type of
currency
property onCheckout.Session
resource fromstring
to'cad' | 'usd'
. - Change location of TypeScript definitions for
CreditNoteLineItemListPreviewParams
,CreditNoteLineItemListPreviewParams.Line
,CreditNoteLineItemListPreviewParams.Line.Type
, andCreditNoteLineItemListPreviewParams.Line.Reason
interfaces fromCreditNoteLineItems.d.ts
toCreditNotes.d.ts
. - Change type of
address
,currency
,delinquent
,discount
,invoice_prefix
,name
,phone
, andpreferred_locales
properties onCustomer
resource to be nullable. - Rename
InvoiceRetrieveUpcomingParams
toInvoiceListUpcomingLinesParams
. - Change type of
id
property onInvoice
resource to be nullable. The definition is used for both Invoice and UpcomingInvoice and does not always have an ID.
- Remove for
AlipayAccount
,DeletedAlipayAccount
,BitcoinReceiver
,DeletedBitcoinReceiver
,BitcoinTransaction
, andBitcoinTransactionListParams
definitions. - Remove
AlipayAccount
andBitcoinReceiver
fromCustomerSource
. - Remove
Stripe.DeletedAlipayAccount
andStripe.DeletedBitcoinReceiver
from possible values ofsource
property inPaymentIntent
. - Remove
IssuerFraudRecord
,IssuerFraudRecordRetrieveParams
,IssuerFraudRecordListParams
, andIssuerFraudRecordsResource
, definitions. - Remove
treasury.received_credit.reversed
webhook event constant. Please usetreasury.received_credit.returned
instead. - Remove
order.payment_failed
,transfer.failed
, andtransfer.paid
. The events were deprecated. - Remove
retrieveDetails
method fromIssuing.Card
resource. The method was unsupported. Read more at https://stripe.com/docs/issuing/cards/virtual. - Remove
Issuing.CardDetails
andCardRetrieveDetailsParams
definition. - Remove
IssuerFraudRecords
resource. - Remove
Recipient
resource andrecipient
property fromCard
resource. - Remove
InvoiceMarkUncollectibleParams
definition. - Remove deprecated
Stripe.Errors
andStripeError
(and derivedStripeCardError
,StripeInvalidRequestError
,StripeAPIError
,StripeAuthenticationError
,StripePermissionError
,StripeRateLimitError
,StripeConnectionError
,StripeSignatureVerificationError
,StripeIdempotencyError
, andStripeInvalidGrantError
) definitions. - Remove
redirect_url
fromLoginLinks
definition. The property is no longer supported. - Remove
LineItemListParams
definition. The interface was no longer in use.
- Rename
listUpcomingLineItems
method onInvoice
resource tolistUpcomingLines
. - Rename
InvoiceLineItemListUpcomingParams
toInvoiceListUpcomingLinesParams
. - Rename
InvoiceRetrieveUpcomingParams
toInvoiceListUpcomingLinesParams
.
Read more at https://stripe.com/docs/upgrades