tencent cloud

CreatePackageOrder
Last updated: 2025-08-08 11:18:54
CreatePackageOrder
Last updated: 2025-08-08 11:18:54

1. API Description

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

This API is used to enable a paid plan on the international website.

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: CreatePackageOrder.
Version Yes String Common Params. The value used for this API: 2021-03-23.
Region No String Common Params. This parameter is not required for this API.
Domain Yes String Domain
Grade Yes String Valid options for the package version are as follows:
DPG_PROFESSIONAL
DPG_ENTERPRISE
DPG_ULTIMATE

3. Output Parameters

Parameter Name Type Description
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 Enabling the International Site Package

This example shows you how to enable the international site package.

Input Example

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

{
    "Domain": "dnspod.com",
    "Grade": "DPG_ENTERPRISE"
}

Output Example

{
    "Response": {
        "RequestId": "9b944e8d-6ecd-4fa7-a413-1afeb70cff87"
    }
}

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

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.NotBindCreditCard Failed to get the balance of the international account or no card is bound.
FailedOperation.PostPayPaymentNotOpen Postpaid billing account not opened.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback