Create Fixed Time Interval Subcription Schedule
POST {{sandboxAPI}}/subscription/subscription_schedules
First, we will create a Monthly interval schedule by providing which month and day of the month (periodoffset.day and periodoffset.month) the subscription will be charged.
Request Body
{"line_item_type"=>"FEE", "period_offset"=>{"day"=>1, "month"=>1}, "nickname"=>"Monthly_Subscription_Schedule", "subscription_type"=>"PERIODIC_YEARLY", "tags"=>{"description"=>"Create a schedule to charge a yearly amount on the 1st of January"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |