Places an order to purchase a credit top-up package.
Operation description
This API operation involves billing. Make sure that you fully understand the billing methods and pricing of WUYING Cloud Phone before you call this operation.
Try it now
Test
RAM authorization
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Period |
integer |
No |
The subscription duration of the purchased resource. The unit is specified by PeriodUnit. |
6 |
| PeriodUnit |
string |
No |
The unit of the subscription duration for the purchased resource. Valid values:
Valid values:
|
Month |
| AutoPay |
boolean |
No |
Specifies whether to enable automatic payment. Valid values:
Note
If the balance of your payment method is insufficient, set this parameter to false. An unpaid order is generated. You can log on to the WUYING Cloud Phone console to complete the payment. |
false |
| CreditAmount |
string |
No |
The number of credits. |
1000 |
| PromotionId |
string |
No |
The ID of the promotion. |
50003308011**** |
| ChannelCookie |
string |
No |
||
| PackageAmount |
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
F07A1DA1-E1EB-5CCA-8EED-12F85D32**** |
| OrderId |
string |
The order ID. |
223684716098**** |
| CreditPackageId |
string |
The ID of the credit top-up package. |
crp-bt7e2t4anbq50**** |
| EffectiveTime |
string |
The effective period of the credit top-up package. The time format is YYYY-MM-DD HH:mm:ss. |
2026-04-30 00:00:00 |
| ExpiredTime |
string |
The expiration time of the credit top-up package. The time format is YYYY-MM-DD HH:mm:ss. |
2026-10-30 00:00:00 |
| CreditPackageIds |
array |
||
|
string |
Examples
Success response
JSON format
{
"RequestId": "F07A1DA1-E1EB-5CCA-8EED-12F85D32****",
"OrderId": "223684716098****",
"CreditPackageId": "crp-bt7e2t4anbq50****",
"EffectiveTime": "2026-04-30 00:00:00",
"ExpiredTime": "2026-10-30 00:00:00",
"CreditPackageIds": [
""
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.