You can now create plans whose billing intervals are your specified number of days or weeks, a feature called Daily-Weekly Billing.
The following Admin Tools APIs have been updated with two new fields, <recurring_billing_period_type> and <usage_billing_period_type>, to accommodate Phase 1 of this new feature. Subsequent phases supporting additional features will be included in forthcoming releases.
API | Input or Output? | Fields and Descriptions |
---|---|---|
get_plans_m | output |
<recurring_billing_period_type>: Specifies whether the recurring billing periods on the returned plans are Daily, Weekly, or Monthly. <usage_billing_period_type>: Specifies whether the usage billing periods on the returned plans are Daily, Weekly, or Monthly. |
get_plan_details_m | output |
<recurring_billing_period_type>: Specifies whether the recurring billing periods on the returned plans' rate schedules are Daily, Weekly, or Monthly. <usage_billing_period_type>: Specifies whether the usage billing periods on the returned plans' rate schedules are Daily, Weekly, or Monthly. |
create_new_plan_m | input |
<recurring_billing_period_type>: Specifies whether the recurring billing periods of the rate schedules for the new plan being created are Daily, Weekly, or Monthly. <usage_billing_period_type>: Specifies whether the usage billing periods of the rate schedules for the new plan being created are Daily, Weekly, or Monthly. |
edit_plan_m | input |
<recurring_billing_period_type>: Specifies whether the recurring billing periods of rate schedules on the plan being edited are Daily, Weekly, or Monthly. <usage_billing_period_type>: Specifies whether the usage billing periods of the rate schedules for the plan being edited are Daily, Weekly, or Monthly. |
add_rate_schedule_on_plan_m | input |
<recurring_billing_period_type>: Specifies whether the recurring billing period of the rate schedule being added to a plan is Daily, Weekly, or Monthly. <usage_billing_period_type>: Specifies whether the usage billing period of the rate schedule being added to a plan is Daily, Weekly, or Monthly. |
edit_rate_schedule_on_plan_m | input |
<recurring_billing_period_type>: Specifies whether the recurring billing period of the rate schedule being added to a plan is Daily, Weekly, or Monthly. <usage_billing_period_type>: Specifies whether the usage billing period of the rate schedule being added to a plan is Daily, Weekly, or Monthly. |
In addition, because Daily-Weekly Billing does not support Usage Accumulation, the following APIs return the error, “Usage accumulation is not supported by daily/weekly billing interval," if you try to configure a Daily-Weekly plan with Usage Accumulation: