Submits a task for redeeming a domain name.


You can call the QueryTaskDetailList operation to query the task execution result.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes SaveSingleTaskForCreatingOrderRedeem

The operation that you want to perform. Set the value to SaveSingleTaskForCreatingOrderRedeem.

CurrentExpirationDate Long Yes 0000

The expiration time of the domain name. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.

DomainName String Yes

The domain name that you want to redeem.

UserClientIp String No

The IP address of the client that you use to redeem the domain name.

Lang String No en

The language of the error message to return. Valid values:

  • zh: Chinese
  • en: English

Default value: en.

UseCoupon Boolean No false

Specifies whether to use a voucher.

CouponNo String No 123123

The ID of the voucher to be used.

UsePromotion Boolean No false

Specifies whether to use a coupon.

PromotionNo String No 123123

The ID of the coupon to be used.

Response parameters

Parameter Type Example Description
RequestId String 40F46D3D-F4F3-4CCB-AC30-2DD20E32E528

The ID of the request.

TaskNo String 3cb1adc3-20e8-44ae-9e76-e812fa6fc9d8

The ID of the task that was submitted.


Sample requests

http(s):// Action=SaveSingleTaskForCreatingOrderRedeem
&<Common request parameters>

Sample success responses

XML format


JSON format

  "TaskNo": "3cb1adc3-20e8-44ae-9e76-e812fa6fc9d8",
  "RequestId": "40F46D3D-F4F3-4CCB-AC30-2DD20E32E528"

Error codes

For a list of error codes, visit the API Error Center.