Pausing Pricing Plan Orders

Introduction:
I offer my customers the ability to pause their pricing plan subscription until a specific date (based on some fixed options like 1-3 month pauses). Once paused, they can see that their subscription is paused and the date it will resume. I want this to be user-driven with minimal manual intervention.

Tools, Documentation and APIs:
First, the only API call for pausing (pauseOrder) will pause indefinitely and since I want to pause to a specific date, I can only do this manually through the dashboard.

Second, once actively paused, there is no API that exposes the resume date. It is visible on the dashboard so clearly the Wix infrastructure has this information somewhere. The only time this gets exposed in an API is when the pricing plan is resumed and then it appears in a field named resumeDate in the pausePeriods structure. This does not help me to show the information while actively paused.

The work-around is to have a custom field to store the “paused until date”, a custom UI for the user to set it, which triggers a notification that it was set to prompt a manual activity via the dashboard.