API overview
API standards and multilingual preset SDKs
The OpenAPI of this product (BssOpenApi/2023-09-30) uses the RPC signature style. We have encapsulated SDKs for common programming languages for developers. Developers can download the SDK to directly call this product's OpenAPI without worrying about technical details. If the existing SDK does not meet your needs, you can use the signature mechanism for self-signing integration. Since the details of self-signing are very complex, it may take around 5 business days. Therefore, we recommend joining our DingTalk service group (147535001692) and conducting signature integration under expert guidance.
Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (such as SDK and CLI). For details, see Obtain an AccessKey.
Custom signature scenarios
If your business scenario has special requirements and you need to integrate the API through self-signing, we recommend consulting our technical support team first (DingTalk service group: 147535001692) to obtain professional guidance and ensure efficient integration.
Account and security preparation
Alibaba Cloud accounts have full administrative permissions over all resources. Once an AccessKey is compromised, all associated resources will be at risk of unauthorized access. To ensure security, it is recommended to create a RAM user with only API access permissions and configure its AccessKey, while configuring RAM policies based on the principle of least privilege (PoLP). Use the Alibaba Cloud account only in specific scenarios where Alibaba Cloud account permissions are explicitly required.
Orders
|
API |
Title |
Description |
| GetOrders | List orders | Queries the orders of users or reseller customers. By default, this operation queries orders created within the last hour. To query orders over a longer period, specify the CreateTimeStart and CreateTimeEnd parameters. |
| GetOrderDetail | Query order details | Queries the details of a specific order for a user or a distribution customer. |
Invoices
|
API |
Title |
Description |
| ListInvoiceTitle | Query available invoice titles | Queries available invoice titles. |
| ListInvoiceCandidate | Query invoice objects | Queries invoice object data that can be used for invoicing. |
| CreateInvoice | Apply for an invoice | Applies for an invoice. |
Funds account
|
API |
Title |
Description |
| CreateFundAccountPayRelation | Create the payment relationship for a fund account | Creates the payment relationship for a fund account. |
| SetFundAccountLowAvailableAmountAlarm | Set Fund Account Low Balance Alert | Set Fund Account Low Balance Alert |
| GetFundAccountCanWithdrawAmount | Query Withdrawable Amount of Fund Account | Query Withdrawable Amount of Fund Account |
| GetFundAccountAvailableAmount | Query available balance of fund account | Query available balance of fund account |
| GetFundAccountLowAvailableAmountAlarm | Query the low balance alert for a fund account | Queries the low balance alert for a fund account. |
| ListFundAccount | List fund accounts | Queries the list of fund accounts. |
| CancelFundAccountLowAvailableAmountAlarm | Cancel low balance alert for a fund account | Cancels the low balance alert for a fund account. |
| GetFundAccountCanAllocateCreditAmount | Query allocatable credit limit of a fund account | Query allocatable credit limit of a fund account |
| ListFundAccountPayRelation | Query account payment relationships | Queries the payment relationships of an account. |
| GetFundAccountCanRecycleAmount | Query the reclaimable amount of a fund account | Queries the reclaimable amount of a fund account. |
| CreateFundAccountTransfer | Create fund allocation or revocation | Creates a fund allocation or revocation for an account. |
| GetFundAccountTransactionDetails | Query transaction details of a fund account | Queries the transaction details of a fund account. |
| SetFundAccountCreditAmount | Set credit limit for a fund account | Sets the credit limit for a fund account. |
| GetFundAccountCanTransferAmount | Query the transferable amount of a fund account | Queries the transferable amount of a fund account. |
Coupons
|
API |
Title |
Description |
| DescribeCoupon | Query the coupon list | Queries the list of coupons. |
| DescribeCouponItemList | Query products available for a coupon | Queries the products available for a coupon. |
Bills
|
API |
Title |
Description |
| ListConsumeSummary | Query billing details summary | Queries the consumption summary for a specified billing month or billing date, and supports viewing expenses by dimensions such as billing item, resource, product, and account. |
| ListSplitSummary | Query split bill summary | Queries the split bill summary for a specified billing month or date, allowing you to view the costs of resources and split items and filter the results by product, account, business unit, resource group, and tag. |
| CreateReportDefinition | Create a report subscription | Creates a billing report subscription. |
| ListReportDefinitions | View subscribed reports | Queries the list of subscribed reports. |
| DeleteReportDefinition | Delete a report subscription | Deletes a bill report export subscription. |
Financial units
|
API |
Title |
Description |
| SaveCostCenterShareRule | Modify cost allocation rules for financial units | Modifies cost allocation rules for financial units, including creating, updating, and deleting allocation rules. |
| QueryCostCenterShareRule | Query financial unit cost allocation rules | Queries the cost allocation rules of financial units. |
| CreateCostCenter | Create cost centers | Creates cost centers. |
| ModifyCostCenter | Modify cost centers | Modifies one or more cost centers. |
| DeleteCostCenter | Delete a cost center | Deletes a cost center. |
| QueryCostCenter | Query cost centers | Queries cost centers. |
| QueryCostCenterResource | Query resources in a financial unit | Queries the resource instances associated with a financial unit. If CostCenterId is set to 0, the operation queries unassigned parent and child resource instances. |
| CreateCostCenterRule | Create an automatic allocation rule for a financial unit | Creates an automatic allocation rule for a financial unit. |
| ModifyCostCenterRule | Modify the automatic allocation rule of a financial unit | Modifies the automatic allocation rule of a financial unit. |
| DeleteCostCenterRule | Delete automatic allocation rule for a cost center | Deletes an automatic allocation rule for a cost center. |
| QueryCostCenterRule | Query cost center automatic allocation rules | Queries cost center rules. |
| AllocateCostCenterResource | Allocate resources to a cost center | Allocates resource instances (instance-based and attached-resource-based) from a source cost center to a destination cost center. |
| QueryCostByCostCenter | Query financial unit cost overview results | Queries the cost overview of financial units. |
Other
|
API |
Title |
Description |
| DescribeDeductLogs | Query resource plan deduction records | Queries the deduction records of resource plans. |
| DescribeFrInstances | Query resource plan instances | Queries resource plan instances. |
| QueryMonthlySlaList | Query SLA compensation records | Queries the SLA compensation list for users. |
| SubmitSlaCouponApply | Claim SLA compensation | Claims SLA compensation coupons for the recent two months. |