Update 2022: We recommend that customers make use of the api.billingportal.online which is self documented rather than using the code below.
---
Wholesale customers frequently need to access our PSTN billing records for Voice, Mobile and MultiLine services. Our billing platform (SMILE by Inomial) has an extensive API for allowing access, but can be quite complicated to use.
Update: We've migrated the example code to GitHub and included a number of updates, including a docker image. You can access the code here or read more about the updates on our blog post.
---
We've put together some example code for our wholesale customers to get Rated CDR data for each service. Customers can also use a variation of this code to access unrated data including session information for xDSL and NBN services.
To use this example, you need an API user, password and to know your account number. We can provide you these once you open a support ticket. You update tehse values in the config_params PHP file.
This code has been tested in PHP 5.4 on MacOS X and Debian 8. It should run on any modern OS with PHP with XML, SOAP and CURL (SSL) support.
Comments
0 comments
Please sign in to leave a comment.