-
Notifications
You must be signed in to change notification settings - Fork 600
Migration guide for v7
Richard Marmorstein edited this page Jan 12, 2023
·
2 revisions
-
retrieve_cash_balanceandupdate_cash_balancemethods onCustomerresource no longer requires the second argument to always benil. The method now takescustomer_id,params, andoptsparameters.# change from Stripe::Customer:: update_cash_balance("cus_12345", nil, { /* params */ }, { /* opts */ }) # to Stripe::Customer:: update_cash_balance("cus_12345", { /* params */ }, { /* opts */ }) - Update default bundle of CA certificates to April 26, 2022.
- Deprecate
deletemethod onSubscriptionresource. Please usecancelmethod instead.# change from Stripe::Subscription::delete("sub_12345") # to Stripe::Subscription.cancel("sub_12345")
- Remove
detailsmethod fromIssuing.Cardresource. The method was not supported. - Remove
Issuing.CardDetailsresource. Read more at https://stripe.com/docs/issuing/cards/virtual. - Remove
createmethod fromReportTyperesource. The method was not supported. - Remove
usage_record_summariesmethod fromSubscriptionItemresource. Please uselist_usage_record_summariesmethod instead.# change from Stripe::SubscriptionItem.usage_record_summaries("si_12345") # to Stripe::SubscriptionItem.list_usage_record_summaries("si_12345") - Remove
AlipayAccount,BitcoinReceiver,BitcoinTransaction,Issuing::CardDetails,Recipient,RecipientTransfer, andThreeDSecureresources. The resources were deprecated or no longer in use. - Remove ability to list
Cardresource for aRecipient. - Remove
cancelmethod fromTransferresource. The method was deprecated.