- Documentation
Direct Connect
API Reference
DC Connection
CreateDirectConnectConnectionOrder - Creating a payment order for a DC Connection
DC Connection
CreateDirectConnectConnectionOrder - Creating a payment order for a DC Connection
CreateDirectConnectConnectionOrder - Creating a payment order for a DC Connection
Call CreateDirectConnectConnectionOrder to create a payment order for a Direct Connect (DC) Connection resource.
Instructions
This API can only be called to create a payment order for a DC Connection that is in the "Pending payment" status.
Debug
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
Request parameters
The following only details request parameters specific to this API and key common parameters. For more information, see Common parameters. Action String required Example: CreateDirectConnectConnectionOrder
The interface name. The current API name is CreateDirectConnectConnectionOrder.
Version String required Example: 2020-04-01
The interface version. The current API version is 2020-04-01.
DirectConnectConnectionId String required Example: dcc-8njk2nl32bd232b****
PeriodUnit String optional Example: Month
The purchased duration unit of the port resource for the DC Connection.
- Month (default): Subscribing by month.
- Year: Subscribing by year.
Period Integer optional Example: 1
The purchased duration of the port resource for the DC Connection.
- If PeriodUnit is set to Year, valid values for this parameter are 1, 2, and 3.
- If PeriodUnit is set to Month, valid values for this parameter are 1 through 11.
- If not specified, it defaults to 1.
ClientToken String optional Example: 123e4567-e89b-12d3-a456-BHLJK9832544****
Client Token that is used to ensure the request idempotency.
- You can use the client to automatically generate a token, but must confirm that the tokens for different requests are unique. This prevents repeated actions due to multiple client retries when the call of the API action times out or an internal server error occurs.
- Must not exceed 64 ASCII characters.
- If you do not provide ClientToken, this API call does not verify idempotency.
Response parameters
The following only details response parameters specific to this API. For more information, see Response structure. OrderNumber String Example: Order71606759118820*****
The order number.
Request examples
GET /?Action=CreateDirectConnectConnectionOrder&Version=2020-04-01&DirectConnectConnectionId=dcc-8njk2nl32bd232b****&Period=1&PeriodUnit=Month' HTTP/1.1
Host: directconnect.cn-beijing.volcengineapi.com
X-Date: 20251121T094038Z
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251121/cn-beijing/directconnect/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f
Response examples
"RequestId": "20220627103212010225145152058*****",
"Action": "CreateDirectConnectConnectionOrder",
"Version": "2020-04-01",
"Service": "directconnect",
"RequestId": "20220627103212010225145152058*****"
Error codes
The table below describes the error codes for this API that are associated with business logic. For details, see Common error codes. Last updated: 2026.02.26 11:13:16