Domain name for API request: csip.intl.tencentcloudapi.com.
Query the consolidated billing information of the current account, including order status, payment mode, quotas, and other detailed information.
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: DescribeCSCPayInfo. |
| Version | Yes | String | Common Params. The value used for this API: 2022-11-21. |
| Region | No | String | Common Params. This parameter is not required. |
| Parameter Name | Type | Description |
|---|---|---|
| AppID | Integer | Tenant AppID. |
| OrderStatus | Integer | Order status. Value: 0 (not purchased), 1 (normal), 2 (isolated), 3 (terminated), 4 (modified), 5 (renewed), 6 (trial use), 7 (expired), 8 (trial expiration). |
| PayMode | Integer | Payment mode. Values: 0 (postpaid), 1 (prepaid). |
| BeginTime | String | Order start time, format: 2006-01-02 15:04:05. |
| EndTime | String | Order end time, format: 2006-01-02 15:04:05. |
| AutoRenew | Integer | Auto-renewal flag. Values: 0 (not set), 1 (auto-renewal), 2 (no auto-renewal). |
| TimeSpan | Integer | Purchase period. |
| TimeUnit | String | Time unit, for example, m (month). |
| ResourceId | String | Resource ID. |
| TimeNow | String | Current server time, format: 2006-01-02 15:04:05. |
| Uin | String | Account UIN. |
| NickName | String | Account nickname. |
| NewUser | Integer | Whether it is a new user. Parameter Value: 1 (new user), 0 (existing user). |
| QuotaList | Array of OrderQuotaInfo | User billing info, with the Key L4 |
| 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. |
POST / HTTP/1.1
Host: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribePlanPayInfo
<Common request parameters>
{}
{
"Response": {
"NewUser": 1,
"RequestId": "16a42165-319b-48b0-8a18-00ba52a07cf6",
"Uin": "700******039",
"NickName": "700******039"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários