Skip to main content

Get_credit_and_threshold_info_in_response

messagestring

Human-readable description of the result.

Example: Success
statusboolean

Whether the request succeeded.

Example: true
data object

Response payload.

creditnumber

Available account credit.

Example: 28.147631028367705
thresholdnumber

Spending threshold above which the alert is triggered.

Example: 0
can_create_instanceboolean

The status of your ability to create virtual machine resources, where true indicates you have access, and false indicates your balance is below the threshold value.

Example: true
Get_credit_and_threshold_info_in_response
{
"message": "Success",
"status": true,
"data": {
"credit": 28.147631028367705,
"threshold": 0,
"can_create_instance": true
}
}