NCC API Charging
NCC API: Charging
The Charging Features NCC API provides functionality for the Prepaid Charging (CCS) areas of the NCC platform:
- Retrieval of database information, both service-level - such as currencies or for specific ACS customers
- Querying of the capabilities of the active billing domain
- Read and write access to subscriber data
- Management of periodic charges when using an OCNCC VWS
The Charging API includes a data model that aids in usage of periodic charges, wallet states, etc.
Using the Charging API
To use the Charging API in your Lua scripts, you need to include the library and assign it a local alias, e.g.:
local ccs = require ("n2.ccs")
You can now call its functions and data members directly from the alias:
ccs.get_currency_by_code ("NZD")