Domain name for API request: intlpartnersmgt.tencentcloudapi.com.
This API is used to download billing files and return billing file URLs by customers.
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: DescribeBillDownloadUrl. |
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"; the earliest month available for query is June, 2022. Current month's billing data may be inaccurate; please download the current month's bill after it is generated at 1:00 on the 5th of the next month. |
FileType | Yes | String | Type of bill. Valid values: L2 or L3 |
Parameter Name | Type | Description |
---|---|---|
DownloadUrl | String | File download address, valid for one hour. |
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 download billing files and return billing file URLs by customers.
POST / HTTP/1.1
Host: intlpartnersmgt.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeBillDownloadUrl
<Public request parameters>
{
"Month": "2023-10",
"FileType": "L3"
}
{
"Response": {
"DownloadUrl": "https://xxxx.cos.ap-singapore.myqcloud.com/L3-bill_details.csv",
"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 |
---|---|
FailedOperation | Operation failed. |
InvalidParameter | Invalid parameter |
本页内容是否解决了您的问题?