All Products
Search
Document Center

Cloud Phone:DescribeCreditPackage

Last Updated:Jul 13, 2026

Queries credit booster packages.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

GET  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

CreditPackageId

string

No

The ID of the credit booster package.

crp-xagydbhfkah****

CreditPackageStatus

string

No

The status of the credit booster package.

Valid values:

  • EXHAUSTED :

    credits exhausted.

  • ACTIVE :

    active.

  • EXPIRED :

    expired.

ACTIVE

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

1CBAFFAB-B697-4049-A9B1-67E1FC****

TotalCount

integer

The total number of entries.

10

IsFirstPurchase

boolean

Indicates whether this is the first purchase.

true

TotalAvailableCredits

string

The total number of available credits.

1000

TotalExhaustedCredit

string

The total number of consumed credits.

30

CreditsPackageInfos

array<object>

The credit booster package information.

object

CreditPackageId

string

The ID of the credit booster package.

crp-xagydbhfkah****

CreditPackageStatus

string

The status of the credit booster package.

ACTIVE

EffectiveTime

string

The effective period of the credit booster package.

2026-04-30 00:00:00

ExpiredTime

string

The expiration time of the credit booster package.

2026-10-30 00:00:00

TotalCredits

string

The total number of credits in the current credit booster package.

100

ExhaustedCredits

string

The number of consumed credits in the current credit booster package.

30

AvailableCredits

string

The number of available credits in the current credit booster package.

70

CreateTime

string

Examples

Success response

JSON format

{
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC****",
  "TotalCount": 10,
  "IsFirstPurchase": true,
  "TotalAvailableCredits": "1000",
  "TotalExhaustedCredit": "30",
  "CreditsPackageInfos": [
    {
      "CreditPackageId": "crp-xagydbhfkah****",
      "CreditPackageStatus": "ACTIVE",
      "EffectiveTime": "2026-04-30 00:00:00",
      "ExpiredTime": "2026-10-30 00:00:00",
      "TotalCredits": "100",
      "ExhaustedCredits": "30",
      "AvailableCredits": "70",
      "CreateTime": ""
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.