REST API endpoints for billing

Use the REST API to get billing information.