All Products
Search
Document Center

BSS OpenAPI:Guide For Cloud Management Partners

Last Updated:Feb 20, 2024

Welcome to Alibaba Cloud. To better support Cloud Management Partners, Alibaba Cloud offers a set of Billing APIs for CMP to manage their billing accounts, orders, resource packages and bills of Alibaba Cloud services.

Billing API Overview

Alibaba Cloud offers below types of billing APIs:

  • Product management APIs to query the cloud products offered, and related pricing model.

  • Price APIs to query the subscription price and the PayAsYouGo price of the specific product(s).

  • Account management APIs to query account balance, prepaid cards, or the redeem.

  • Order management APIs to query order information, get order detail, or cancel the order.

  • Bill management APIs to query bill information, bill overview, instance bill detail information, subscribe / unsubscribe the bill information to OSS bucket etc.

  • Instance management APIs to create / modify / renew instance, query available instance, set renewal, or convert the instance charge type.

  • Resource package management APIs to describe resource package product(s), get resource package price(s), create resource package(s), and query resource package instances.

  • Usage data management API to query the original usage data per Alibaba Cloud product.

Please read this document to further understand each of the API.

Integration tool - OpenAPI Explorer

Besides reading Billing API online documents, CMP can also leverage OpenAPI Explorer to debug the invocation of Billing API.

image.png

In OpenAPI Explorer you can:

  • Select the API you want to invoke

  • Input the parameters

  • Check further information by clicking “Find API Document”

  • Review sample code

  • Submit by clicking "Initialate Call"

  • Review the actual request URL and the returned result