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