I use the recurly json based api to make a call for a subscription, but it looks like a card is always charged for what the plan value is. I am trying to change the unit value for a plan by sending unit_amount_in_cents to a subscription object, but it does not work.
Here is the call information:
End point: https://api.recurly.com/jsonp/:subdomain:/subscribe?callback=cbFunc
Data:
subscription[plan_code]:<plan code>
subscription[quantity]:1
subscription[currency]:USD
subscription[unit_amount_in_cents]:2
account: <Account object>
billing_info: <biling info object>
signature: <signature>
The problem is that it always charges that value of the plan per unit, instead of charging 2 cents.
source
share