A billing and payments management library for web APIs