| Name | Type | Description | Notes |
|---|---|---|---|
| name | String | {"description":"Friendly name given to the charge to help identify it.","verbs":["POST","GET"]} | [optional] |
| description | String | {"description":"","verbs":["POST","GET"]} | [optional] |
| amount | Float | {"description":"Monetary amount for which to charge. Used only for ad-hoc charges i.e charges not associated with any pricing component. Applicable if pricingComponent is NOT defined","verbs":["POST","GET"]} | [optional] |
| tax_amount | BOOLEAN | {"default":false,"description":"Applicable if amount is specified and indicates whether or not to apply tax in addition to the value specified.<br><span class=\"label label-default\">true</span> — Tax will be added on top of the nominal price specified in amount — in accordance with any taxation strategies you have defined.<br><span class=\"label label-default\">false</span> — No tax will be applied on top of the price specified in amount.","verbs":["POST","GET"]} | [optional] |
| period_start | DateTime | {"default":"Now","description":"Start of the interval to which the charge applies. This can be used to apply a charge across partial or multiple periods. Pro-rating the price of pricingComponents purchased","verbs":["POST","GET"]} | [optional] |
| period_end | DateTime | {"default":"(End of current period)","description":"(Applicable only if `pricingComponent` is defined)<br>End of the interval to which the charge applies. Used in pro-rata calculation","verbs":["POST","GET"]} | [optional] |
| charge_type | String | {"default":"<span class=\"label label-default\">Debit</span>","description":"Whether this charge represents an increase or decrease in invoice cost<br><span class=\"label label-default\">Credit</span> — This results in a reduction to the invoice cost<br><span class=\"label label-default\">Debit</span> — This will increase the invoice cost","verbs":["POST","GET"]} | [optional] |
| trial | BOOLEAN | {"default":"false","description":"Whether the charge is meant in the context of a trial.<br><span class=\"label label-default\">false</span> — This is a non-trial charge, so funds will be sought from the customer.<br><span class=\"label label-default\">true</span> — This is a trial charge, soThe charge can be considered 'Paid' without taking any funds from the customer.","verbs":["POST","GET"]} | [optional] |
| product | String | {"description":"[Required only if the `productRatePlan` field is populated with a name (as opposed to an ID)]. The ID or name of the product rate plan to which the referenced rate plan belongs.","verbs":["POST","GET"]} | [optional] |
| product_rate_plan | String | {"description":"[Required only if the `pricingComponent` field is populated with a name (as opposed to an ID)]. The ID or name of the rate plan to which the referenced PricingComponent belongs.","verbs":["POST","GET"]} | [optional] |
| pricing_component | String | {"description":"Specifies that this charge is for consumption of some quantity of this pricing component (whose name or ID can be provided).<br>If left blank:<br>The charge will be created as 'ad-hoc'. That is: a monetary lump sum, associated with no pricing component","verbs":["POST","GET"]} | [optional] |
| pricing_component_value | Integer | {"description":"[Required if pricingComponent is defined]. The value consumed of the pricing component which this charge concerns.","verbs":["POST","GET"]} | [optional] |
This repository was archived by the owner on Oct 17, 2023. It is now read-only.