Billing
The Billing API allows the partners to get information about invoices and control their subscriptions.
An Invoice object is automatically created when a new partner is added to the system. One invoice exists for each partner and is updated when new charges occur.
In general, CarrierX invoice items can be of three types:
- DID rentals,
- event-based, e.g. calls, messaging, lookup, TTS requests to the API, etc.,
- subscription-based, i.e. any recurring regular monthly charges.
A Rate Subscription object is a customizable, recurring invoice item that is billed each month. It allows the Partners to view their subscriptions and their details. Every subscription has a price
, which is composed of a certain quantity
of items (units) the Partner is subscribed to and the rate
, which is the cost of one subscription unit
(price
== rate
* quantity
).