Updated on 2026-11-03 GMT+08:00

CLI Command Reference

Product Management

API Name

Command

Description

Operation

Querying Cloud Service Types

hcloud BSSINTL ListServiceTypes

This API is used to query cloud service types on the customer self-built platform.

Debug

Querying Resource Types

hcloud BSSINTL ListResourceTypes

This API is used to query the resource types on the customer self-built platform.

Debug

Querying Resources by Cloud Service Type

hcloud BSSINTL ListServiceResources

This API is used to query the resource type code and name by associated cloud service on the self-built platform and to query the price of a pay-per-use or yearly/monthly product.

Debug

Querying Usage Types

hcloud BSSINTL ListUsageTypes

This API is used to query resource usage types on the customer self-built platform.

Debug

Querying Measurement Units

hcloud BSSINTL ListMeasureUnits

This API is used to query the resource usage, measurement unit for the duration and amount of a yearly/monthly resource, as well as the measurement unit type on the self-built platform.

Debug

Querying the Measurement Unit Number System

hcloud BSSINTL ListConversions

This API is used to query the measurement unit number system on the self-built platform.

Debug

Querying Resource Specifications of a Cloud Service Type

hcloud BSSINTL ListResourceSpecs

This API is used to query resource specifications of a cloud service type on the customer self-built platform.

Debug

Querying the Price of a Pay-per-Use Product

hcloud BSSINTL ListOnDemandResourceRatings

This API is used to query the price of a pay-per-use product by criteria on the customer self-built platform.

Debug

Querying Prices of Yearly/Monthly Products

hcloud BSSINTL ListRateOnPeriodDetail

This API is used to query prices of yearly/monthly products for new subscriptions on the customer self-built platform.

Debug

Querying the Renewal Price of a Yearly/Monthly Resource

hcloud BSSINTL ListRenewRateOnPeriod

This API is used to query the renewal price of a yearly/monthly resource by criteria on the customer self-built platform.

Debug

Account Management

API Name

Command

Description

Operation

Querying Account Balance

hcloud BSSINTL ShowCustomerAccountBalances

This API is used to query the account balance.

Debug

Querying Expenditure Quota

hcloud BSSINTL ShowCustomerAccountBalances

This API is used to query the expenditure quota.

Debug

Transaction Management

API Name

Command

Description

Operation

Querying Coupons

hcloud BSSINTL ListSubCustomerCoupons

This API is used to query customers' coupon information.

Debug

Querying Orders

hcloud BSSINTL ListCustomerOrders

After a customer purchases yearly/monthly resources, it can query the orders in different statuses, such as in the pending approval, processing, canceled, completed, and pending payment statuses.

Debug

Querying Order Details

hcloud BSSINTL ShowCustomerOrderDetails

This API is used to view order details on the customer self-built platform.

Debug

Querying Available Discounts of an Order

hcloud BSSINTL ListOrderDiscounts

This API is used to query available discounts when a customer pays an order on the self-built platform.

Debug

Paying Yearly/Monthly Product Orders

hcloud BSSINTL PayOrders

This API is used to pay yearly/monthly product orders in the pending payment status.

Debug

Canceling Orders in the Pending Payment Status

hcloud BSSINTL CancelCustomerOrder

This API is used to cancel orders in the pending payment status.

Debug

Querying Refunds for Orders

hcloud BSSINTL ShowRefundOrderDetails

A customer can query the resource type and order of the refund amount of an unsubscription or specification downgrade order on the customer sales platform.

Debug

Querying Yearly/Monthly Resources

hcloud BSSINTL ListPayPerUseCustomerResources

This API is used to query one or all yearly/monthly resources on the self-built platform.

Debug

Renewing Subscription to Yearly/Monthly Resources

hcloud BSSINTL RenewalResources

This API is used to renew subscription to yearly/monthly resources on the self-built platform.

Debug

Unsubscribing from Yearly/Monthly Resources

hcloud BSSINTL CancelResourcesSubscription

If a customer has subscribed to a yearly/monthly resource, the customer can use this API to unsubscribe from the resource, including the renewed part and currently used part. The customer cannot use the resources after unsubscription.

Debug

Enabling Automatic Renewal for Yearly/Monthly Resources

hcloud BSSINTL AutoRenewalResources

This API is used to enable automatic renewal for long-term yearly/monthly resources to prevent the resources from being deleted when they are expired.

Debug

Disabling Automatic Renewal for Yearly/Monthly Resources

hcloud BSSINTL CancelAutoRenewalResources

A customer can disable automatic subscription renewal when needed. After disabling this function, the customer needs to manually renew the subscription to the resources before they expire.

Debug

Enabling/Canceling the Change from Yearly/Monthly to Pay-per-Use upon Expiration

hcloud BSSINTL UpdatePeriodToOnDemand

A customer can change the billing mode of resources from yearly/monthly to pay-per-use after the resources expire. The pay-per-use mode takes effect upon a yearly/monthly expiration.

Debug

Setting a Deduction Date for Auto-Renewal of Yearly/Monthly Resources and a Same Expiration Date for Renewed Resources

hcloud BSSINTL SetResourcesRenewConfig

This API can be used to set a deduction date for auto-renewal of yearly/monthly resources and a same expiration date for renewed resources.

Debug

Querying Resource Packages

hcloud BSSINTL ListFreeResourceInfos

This API is used to query the resource package list on the self-built platform.

Debug

Querying Resource Package Usage

hcloud BSSINTL ListFreeResourceUsages

This API can be used to query the resource package usage by resource on the self-built platform.

Debug

Querying Details of Resource Usage

hcloud BSSINTL ListFreeResourcesUsageRecords

This API is used to query the resource package usage details on the self-built platform.

Debug

Bill Management

API Name

Command

Description

Operation

Querying Bill Summary

hcloud BSSINTL ShowCustomerMonthlySum

This API can be used by customers to query their expenditure summaries on the self-built platform. The expenditure data is summarized by month.

Debug

Viewing Resource Usage Details

hcloud BSSINTL ListCustomerselfResourceRecordDetails

This API can be used to query usage details of each resource for a customer on the self-built platform.

Debug

Viewing Resource Expenditures

hcloud BSSINTL ListCustomerselfResourceRecords

This API can be used to query expenditures of each resource for a customer on the self-built platform.

Debug

Cost Management

API Name

Command

Description

Operation

Querying Cost Data

hcloud BSSINTL ListCosts

This API is used to query the cost data on the self-built platform.

Debug

Enterprise Management

API Name

Command

Description

Operation

Enabling Enterprise Project Management

hcloud BSSINTL CreateEnterpriseProjectAuth

This API is used to enable the enterprise project management on the self-built platform.

Debug

Querying Enterprise Member Accounts

hcloud BSSINTL ListEnterpriseSubCustomers

This API can be used by an enterprise master account to query member accounts on the self-built platform.

Debug

Invoice Management

API Name

Command

Description

Operation

Querying Invoices

hcloud BSSINTL ListInvoices

This API is used to query the invoice list.

Debug