Create Fixed Time Interval Subcription Schedule
POST {{sandboxAPI}}/subscription/subscription_schedules
First, we will create a Fixed time interval schedule that repeats 4 times (intervalcount) every 7 days (hourlyinterval, 24*7 = 168 hours)
Request Body
{"line_item_type"=>"FEE", "nickname"=>"POS Rental Fee Schedule", "fixed_time_interval_offset"=>{"interval_count"=>4, "hourly_interval"=>168}, "subscription_type"=>"FIXED_TIME_INTERVAL", "tags"=>{"description"=>"Create a schedule to charge an amount 4 times every 7 days"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |