This article contains changes made within our APIs related to the January 2022 release.
Separate Billing & Usage periods - Charges section for Plans
New: For POST, GET, and PUT requests under the Charges section for Plans, a new attribute has been added for usage-based charges: 'usage_period' - Valid Values (Same as Billing Period or Charge Term). This attribute is only available when ‘Separate Billing and Usage Periods’ has been enabled in the Advanced Usage Settings.
Sample Payload:
{
"id": "CHG-00452",
"product_id": "P-00332",
"name": "My charge",
"description": "this is my charge",
"type": "Usage based",
"prepayment_amount": 0,
"pricing_model": "Tiered",
"list_price": "1000",
"billing_period": "Monthly",
“usage_period”: “Same as Billing Period”,
"billing_period_start_alignment": "Service Start Date",
"billing_day": "Align with Billing Period",
"unit_of_measure": "",
"included_units": 0,
"tiers": []
}
Comments
0 comments
Please sign in to leave a comment.