title: Stripe module issues at Parse
body: <p>I am developing a project which integrates Stripe + Parse for iOS. It uses web hooks and Cloud code via node js. Currently i am in need of implementing a couple of functions: </p>
  
  <ol>
  <li>cancel user subscription with flag atPeriodEnd;</li>
  <li>subscribe cancelled customer once again (named multiple subscriptions via Stripe docs).</li>
  </ol>
  
  <p>As for the first one: I'm sending a request as follows in Parse's API - </p>
  
  <pre><code>Stripe.Customers.cancelSubscription(request.params.customerID, 1, null)
  </code></pre>
  
  <p>but the second parameter, i.e. atPeriodEnd remains 0 when i receive Stripe's response and my webhook catches request for cancelling user immediately. Also i have checked Stripe's dashboard to see parameters that i pass and it says 'No query parameters'. Hope you can help me with this one out.</p>
  
  <p>Second one: as i mentioned earlier user needs to have ability to subscribe once again after cancellation. That means that i already have a valid customer saved at Stripe and all i need is to 'attach' to him a new subscription. There is a method for this at Stripe docs:</p>
  
  <pre><code>stripe.customers.createSubscription("cus_00000000000", { plan: "planName" }, function(err, subscription) {  
  });
  </code></pre>
  
  <p>But i can't find similar to this in Parse's API. Hope you can help with this one out. </p>
  
  <p>Sorry if there are some mistakes or misunderstandings for you - feel free to ask, i will answer as much clear as i can. Thanks!</p>