tencent cloud

APIs

DescribeDspmPayInfo

Download
聚焦模式
字号
最后更新时间: 2026-09-01 10:04:43

1. API Description

Domain name for API request: csip.intl.tencentcloudapi.com.

Get purchased Dspm order information

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

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: DescribeDspmPayInfo.
Version Yes String Common Params. The value used for this API: 2022-11-21.
Region No String Common Params. This parameter is not required.
MemberId.N No Array of String

Group account member id

3. Output Parameters

Parameter Name Type Description
AppID Integer APPID
OrderStatus Integer Order status. 0: not purchased. 1: normal. 2: isolated. 3: terminated. 6: in trial. 7: expired.
AssetNum Integer Number of purchased database instances
LogStorage Float Purchased audit log volume (TB)
UsedAssetNum Integer Number of database instances in use
UsedLogStorage Float Used audit log volume (TB)
SqlTotal Integer Total purchased sql storage (unit: million)
SqlQps Integer Purchased sql qps
PayMode Integer Payment mode. 0: pay-as-you-go; 1: prepaid
IsSelfBuy Integer Whether to purchase separately. 1: separate purchase; 2: shared by other accounts
BeginTime String Order start time.
EndTime String Order expiration time
AutoRenew Integer 0: user not set; 1: set auto-renewal by user; 2: set not to auto-renew by user
TimeSpan Integer Order duration
TimeUnit String Duration unit.
ResourceId String Resource ID
BetaEndTime String Open beta end time
TimeNow String Current system time.
IsShareToOther Integer Whether to share with other accounts. 1: yes; 2: no
Uin String uin
NickName String Nickname
InquireData Array of InquireInfo Purchase information
Version String Edition (Professional: professional; Trial: trial)
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.

4. Example

Example1 Get dspm purchase information

Input Example

POST / HTTP/1.1
Host: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeDspmPayInfo
<Common request parameters>

{}

Output Example

{
    "Response": {
        "AppID": 251237296,
        "AssetNum": 9,
        "AutoRenew": 0,
        "BeginTime": "2025-11-27 16:09:30",
        "BetaEndTime": "",
        "EndTime": "2025-12-27 16:09:30",
        "InquireData": [
            {
                "Name": "sv_soccloud_dspm_exp_1in",
                "Value": 6
            },
            {
                "Name": "sv_soccloud_dspm_exp_1t",
                "Value": 2
            },
            {
                "Name": "sv_soccloud_dspm_package_pro",
                "Value": 1
            }
        ],
        "IsSelfBuy": 1,
        "IsShareToOther": 0,
        "LogStorage": 3.1,
        "NickName": "",
        "OrderStatus": 1,
        "PayMode": 1,
        "RequestId": "61d76fce-c5ed-4e41-9c49-aa33cadb19e2",
        "ResourceId": "dspm-99643271",
        "TimeNow": "2025-12-01 10:43:45",
        "TimeSpan": 1,
        "TimeUnit": "m",
        "Uin": "700000579945",
        "UsedAssetNum": 0,
        "UsedLogStorage": 0
    }
}

Example2 Billing item information

Input Example

POST / HTTP/1.1
Host: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeDspmPayInfo
<Common request parameters>

{}

Output Example

{
    "Response": {
        "AppID": 251237296,
        "AssetNum": 9,
        "AutoRenew": 0,
        "BeginTime": "2025-11-27 16:09:30",
        "BetaEndTime": "",
        "EndTime": "2025-12-27 16:09:30",
        "InquireData": [
            {
                "Name": "sv_soccloud_dspm_exp_1in",
                "Value": 6
            },
            {
                "Name": "sv_soccloud_dspm_exp_1t",
                "Value": 2
            },
            {
                "Name": "sv_soccloud_dspm_package_pro",
                "Value": 1
            }
        ],
        "IsSelfBuy": 1,
        "IsShareToOther": 0,
        "LogStorage": 3.1,
        "NickName": "",
        "OrderStatus": 1,
        "PayMode": 1,
        "RequestId": "61d76fce-c5ed-4e41-9c49-aa33cadb19e2",
        "ResourceId": "dspm-99643271",
        "TimeNow": "2025-12-01 10:43:45",
        "TimeSpan": 1,
        "TimeUnit": "m",
        "Uin": "700000579945",
        "UsedAssetNum": 0,
        "UsedLogStorage": 0
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

There is no error code related to the API business logic. For other error codes, please see Common Error Codes.

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈