Alibaba Cloud provides a set of Billing APIs for Cloud Management Partners (CMP) to manage billing accounts, orders, resource plans, and bills across Alibaba Cloud services.
Get started
To integrate with the Billing APIs:
-
Review the API categories below to identify the APIs relevant to your use case.
-
Read the Billing API documentation for detailed specifications.
-
Use OpenAPI Explorer to test API calls in a live environment.
API categories
The Billing APIs cover eight functional areas:
| Category | Description |
|---|---|
| Product management | Query available cloud products and their pricing models. |
| Pricing | Query subscription and pay-as-you-go prices for specific products. |
| Account management | Query account balance, prepaid cards, and redeemable credits. |
| Order management | Query order information, retrieve order details, and cancel orders. |
| Bill management | Query bills, bill overviews, and instance-level bill details. Subscribe or unsubscribe bill data exports to an OSS bucket. |
| Instance management | Create, modify, and renew instances. Query available instances, configure renewal settings, and convert billing methods. |
| Resource plan management | List resource plan products, query resource plan pricing, create resource plans, and query resource plan instances. |
| Usage data management | Query raw usage data per Alibaba Cloud product. |
For the full API reference, see API overview.
Debug API calls with OpenAPI Explorer
OpenAPI Explorer is an interactive tool for testing and debugging Billing API calls directly in your browser.
With OpenAPI Explorer, you can:
-
Select an API to invoke.
-
Enter the parameters.
-
Click Find API Document to view the API reference.
-
Review the sample code.
-
Click Initiate Call to submit the request.
-
Inspect the request URL and response.