Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple breaking API changes while removing deprecated Issuing features #1009

Merged
merged 2 commits into from Apr 15, 2020

Conversation

remi-stripe
Copy link
Contributor

@remi-stripe remi-stripe commented Apr 15, 2020

Multiple breaking API changes while removing deprecated Issuing features:

  • Moved SettingsBranding on Account is now Branding inside the Settings on Account
  • Removed percentage filter from the List TaxRate API
  • Remove country and routing_number from payment_method_details.acss_debit on Charge as this is going to be reworked
  • Moved transfer_data on Subscription to its own class separate from the one on Invoice
  • Remove renewal_interval on SubscriptionSchedule which was deprecated
  • Removing all deprecated features on Issuing:
    • Remove email on Token as this was only supported for an internal product
    • Removed deprecated properties and parameters on Issuing Authorization that have been renamed or replaced:
      • authorized_amount, authorized_currency, held_amount, held_currency, is_held_amount_controllable, pending_authorized_amount, pending_held_amount, wallet_provider
      • Removed url inside merchant_data
      • Removed address_zip_check, authentication and three_d_secure inside verification_data
      • Removed authorized_amount, authorized_currency, held_amount, held_currency, violated_authorization_controls from pending_request
    • Removed deprecated properties and parameters on Issuing Card:
      • Removed authorization_controls, name, pin and speed
      • Renamed the inner class from AuthorizationControls to SpendingControls
      • Moved SpendingLimit as an inner class inside SpendingControls.
      • Moved MerchantData from being its own class to being an inner class inside Authorization
      • Removed the details() API method
    • Removed CardDetails API resource
    • Removed deprecated properties and parameters on Issuing Cardholder:
      • Removed authorization_controls, is_default
      • Removed name inside billing
      • Renamed the inner class from AuthorizationControls to SpendingControls
      • Moved MerchantData from being its own class to being an inner class inside Authorization
      • Moved SpendingLimit as an inner class inside SpendingControls
      • Removed the details() API method
    • Clean up the Dispute resource and APIs to remove most features as this is still in beta and not yet stable
    • Removed issuing_dispute.* and issuing_settlement.* events as those are not public yet
    • Removed deprecated properties and parameters on Issuing Transaction:
      • Removed dispute
      • Reference merchant_data from the inner class in Authorization
      • Removed enum values for type to only have capture and refund

Codegen for openapi ded3348

r? @richardm-stripe
cc @stripe/api-libraries

@totof3110
Copy link

@remi-stripe : quick question. Is there a replacement for the card.details() API? I still see it in the API docs https://stripe.com/docs/api/issuing/cards/retrieve_details

@remi-stripe remi-stripe deleted the remi/codegen-ded3348 branch April 16, 2020 20:43
@remi-stripe
Copy link
Contributor Author

@totof3110 Yes we built an alternative where you can fetch the cvc+number when retrieving the card directly which is a better pattern. It's documented https://stripe.com/docs/api/issuing/cards/object#issuing_card_object-number

I'm planning to add this right after the major version ships

@totof3110
Copy link

Thanks @remi-stripe!

@remi-stripe
Copy link
Contributor Author

@totof3110 circling back this has been released in 19.1.0 https://github.com/stripe/stripe-java/blob/master/CHANGELOG.md#1910---2020-04-16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants