Domain name for API request: intlpartnersmgt.tencentcloudapi.com.
External API for the L1 billing of the customer billing center
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeBillSummary. |
Version | Yes | String | Common Params. The value used for this API: 2022-09-28. |
Region | No | String | Common Params. This parameter is not required. |
Month | Yes | String | Bill month in the format of "yyyy-mm". |
GroupType | Yes | String | Billing dimension. Optional parameters: product, project, tag |
TagKey.N | No | Array of String | Tag value list |
Parameter Name | Type | Description |
---|---|---|
SummaryDetail | Array of SummaryDetails | Detailed summary by billing dimensionNote: This field may return null, indicating that no valid values can be obtained. |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
This example shows you how to view the API and tag dimension statistics in customer billing center L1 bill by customers.
POST / HTTP/1.1
Host: intlpartnersmgt.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeBillSummary
<Public request parameters>{
"Month": "2023-10",
"GroupType": "tag",
"TagKey": [
"abc"
]
}
{
"Response": {
"SummaryDetail": [
{
"Business": [
{
"BusinessCodeName": "CVM Dedicated Host",
"BusinessCode": "p_cdh",
"OriginalCost": "12.11",
"VoucherPayAmount": "1.1",
"RICost": "0.1",
"TotalCost": "12.1"
}
],
"OriginalCost": "12.1",
"VoucherPayAmount": "1.1",
"RICost": "1.1",
"TotalCost": "2.2",
"GroupKey": "abc",
"GroupValue": "default"
}
],
"RequestId": "abc"
}
}
This example shows you how to view the API and project dimension statistics in customer billing center L1 bill by customers.
POST / HTTP/1.1
Host: intlpartnersmgt.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeBillSummary
< Public request parameters>{
"Month": "2023-10",
"GroupType": "project"
}
{
"Response": {
"SummaryDetail": [
{
"Business": [
{
"BusinessCodeName": "cloud block storage",
"BusinessCode": "p_cbs",
"OriginalCost": "148.40000000",
"VoucherPayAmount": "129.70000000",
"RICost": "0.00000000",
"TotalCost": "18.70000000"
}
],
"OriginalCost": "148.40000000",
"VoucherPayAmount": "129.70000000",
"RICost": "0.00000000",
"TotalCost": "18.70000000",
"GroupKey": "0",
"GroupValue": "default"
}
],
"RequestId": "abc"
}
}
This example shows you how to view the API and product dimension statistics in customer billing center L1 bill by customers.
POST / HTTP/1.1
Host: intlpartnersmgt.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeBillSummary
< Public request parameters>{
"Month": "2023-10",
"GroupType": "product"
}
{
"Response": {
"SummaryDetail": [
{
"Business": null,
"OriginalCost": "148.40000000",
"VoucherPayAmount": "129.70000000",
"RICost": "0.00000000",
"TotalCost": "18.70000000",
"GroupKey": "p_cbs",
"GroupValue": "cloud block storage"
}
],
"RequestId": "abc"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
AuthFailure | CAM signature/authentication error. |
FailedOperation | Operation failed. |
InternalError | Internal error. |
InvalidParameter | Invalid parameter |
InvalidParameterValue.InvalidDimension | The dimension data entered is incorrect. |
InvalidParameterValue.InvalidMonth | Incorrect month value |
Was this page helpful?