Create a Subscription Plan
A subscription plan consists of basic information like plan name, amount, and frequency. An example of a subscription plan could be “Spotify Premium Membership” which is SGD 9.90 monthly.
Headers
Body
Plan name. It's required field
Billing frequency (weekly / monthly / yearly / custom / save_card). If cycle = custom then the user has to send the fields cycle_repeat and cycle_frequency
weekly
, monthly
, yearly
, custom
, save_card
Min: 1, Max: 999999.99. It's required field
1 < x < 999999.99
The description of subscription plan
[This field is only applicable when cycle = custom] It's the frequency of the cycle [day / week / month / year]
day
, week
, month
, year
[This field is only applicable when cycle = custom] It's the number of times the cycle will repeat.
Arbitrary reference number that you can map to your internal reference number. This value cannot be edited by the customer
255
The redirected URL after the payment
sign_up_date
, customer_select_date
, fixed_date
it's required if start_date_method = fixed_date
1 < x < 28
1 < x < 100
Was this page helpful?