Monthly subscription that stops after 4 months

Hello all,

Our app's product is a time based limited duration offering and we want to offer a monthly subscription for 4 months or an up-front payment for the 4 months. The up-front payment is easy to add (thinking non-renewing subscription) but I can't seem to automatically cancel a renewing subscription after 4 months of the user paying.

In general hoping for a some way to set a schedule to end or stop the subscription or if we can cancel subscriptions after the 4 months by making calls to an API or something. Alternatively, some sort of 4 month long financing/pay over the course of 4 months would work similarly.

What you are describing then would be a non-renewing subscription. The intention of an auto-renewing subscription is it can auto-renew indefinitely as the customers discretion. https://developer.apple.com/in-app-purchase/

Monthly subscription that stops after 4 months
 
 
Q