title: How do I defer a subscription in Android (Google Play Billing)?
body: <p>I have implemented an in app subscription in Android, it all works fine, I even have a 30 day free trial to begin with.</p>
  
  <p>I have a referral feature in the app, so when a certain value in the database reaches 10 (i.e. 10 referrals) - I want to give the user a free 30 day subscription. </p>
  
  <p>I have had a look around and think deferring the subscription by the desired amount would the solution. However, I have no idea how to go about this. The api docs dont seem to be Android-specific, and I cant find a proper tutorial anywhere. Any help massively appreciated.</p>
  
  <p>Already tried looking at the docs - <a href="https://developers.google.com/android-publisher/api-ref/purchases/subscriptions/defer" rel="nofollow noreferrer">https://developers.google.com/android-publisher/api-ref/purchases/subscriptions/defer</a></p>
  
  <p>Do I just make the http request listed there? I was hoping for a nice in-built call I can make.</p>
  
  <p>I simply wish for:</p>
  
  <p>when a certain variable == 10, to defer, or increase the subscription length by 30 days.</p>