NCC API Charging

NCC API: Charging

The Charging Features NCC API provides functionality for the Prepaid Charging (CCS) areas of the NCC platform:

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")