-
Notifications
You must be signed in to change notification settings - Fork 849
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, andsettingsproperties onAccountresource to be nullable. - Change type of
currencyproperty onCheckout.Sessionresource fromstringto'cad' | 'usd'. - Change location of TypeScript definitions for
CreditNoteLineItemListPreviewParams,CreditNoteLineItemListPreviewParams.Line,CreditNoteLineItemListPreviewParams.Line.Type, andCreditNoteLineItemListPreviewParams.Line.Reasoninterfaces fromCreditNoteLineItems.d.tstoCreditNotes.d.ts. - Change type of
address,currency,delinquent,discount,invoice_prefix,name,phone, andpreferred_localesproperties onCustomerresource to be nullable. - Rename
InvoiceRetrieveUpcomingParamstoInvoiceListUpcomingLinesParams. - Change type of
idproperty onInvoiceresource 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, andBitcoinTransactionListParamsdefinitions. - Remove
AlipayAccountandBitcoinReceiverfromCustomerSource. - Remove
Stripe.DeletedAlipayAccountandStripe.DeletedBitcoinReceiverfrom possible values ofsourceproperty inPaymentIntent. - Remove
IssuerFraudRecord,IssuerFraudRecordRetrieveParams,IssuerFraudRecordListParams, andIssuerFraudRecordsResource, definitions. - Remove
treasury.received_credit.reversedwebhook event constant. Please usetreasury.received_credit.returnedinstead. - Remove
order.payment_failed,transfer.failed, andtransfer.paid. The events were deprecated. - Remove
retrieveDetailsmethod fromIssuing.Cardresource. The method was unsupported. Read more at https://stripe.com/docs/issuing/cards/virtual. - Remove
Issuing.CardDetailsandCardRetrieveDetailsParamsdefinition. - Remove
IssuerFraudRecordsresource. - Remove
Recipientresource andrecipientproperty fromCardresource. - Remove
InvoiceMarkUncollectibleParamsdefinition. - Remove deprecated
Stripe.ErrorsandStripeError(and derivedStripeCardError,StripeInvalidRequestError,StripeAPIError,StripeAuthenticationError,StripePermissionError,StripeRateLimitError,StripeConnectionError,StripeSignatureVerificationError,StripeIdempotencyError, andStripeInvalidGrantError) definitions. - Remove
redirect_urlfromLoginLinksdefinition. The property is no longer supported. - Remove
LineItemListParamsdefinition. The interface was no longer in use.
- Rename
listUpcomingLineItemsmethod onInvoiceresource tolistUpcomingLines. - Rename
InvoiceLineItemListUpcomingParamstoInvoiceListUpcomingLinesParams. - Rename
InvoiceRetrieveUpcomingParamstoInvoiceListUpcomingLinesParams.
Read more at https://stripe.com/docs/upgrades