Cancel Subscriptions on Behalf of Customer like Netflix (App Store Server API)

I recently had a request from a Product Owner to implement capability like Netflix has to enable users to switch their payment method from App Store Subscription to Credit Card on our website, as per capability that Netflix has in their account management portal.

We tested it today with a colleague who was paying for Netflix through iOS in-app subscription:

  • In the Netflix account management pages it showed that he was currently paying via In App Subscription
  • He updated his payment method to Credit Card in their website's account management portal.
  • Almost immediately after adding his Credit Card in his iOS Subscription Management settings (we could see the the subscription had been set to no longer renew, with an expiry date)

How is this done - I can't see any API in App Store Server API documentation that gives us a way of cancelling / preventing renewal of subscriptions on behalf of a user... But Netflix can clearly do it somehow...

Cancel Subscriptions on Behalf of Customer like Netflix (App Store Server API)
 
 
Q