Adding Credits API in the Api namespace.