Purchases a credit booster pack.
Operation description
This operation involves billing. Before you call this operation, make sure that you fully understand the billing methods and pricing of Elastic Cloud Phone.
Try it now
Test
RAM authorization
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Period |
integer |
No |
The duration for which you want to purchase the resource. The unit is specified by PeriodUnit. |
6 |
| PeriodUnit |
string |
No |
The unit of the duration for which you want to purchase the resource. Valid values:
Valid values:
|
Month |
| AutoPay |
boolean |
No |
Specifies whether to enable automatic payment. Valid values:
Note
If your payment method has an insufficient balance, set this parameter to false. An unpaid order is generated, and you can log on to the Elastic Cloud Phone console to complete the payment. |
false |
| CreditAmount |
string |
No |
The number of credits. |
1000 |
| PromotionId |
string |
No |
The ID of the promotional campaign. |
50003308011**** |
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 booster pack. |
crp-bt7e2t4anbq50**** |
| EffectiveTime |
string |
The effective period of the credit booster pack. |
2026-04-30 00:00:00 |
| ExpiredTime |
string |
The time when the credit booster pack expires. |
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.