Credit

View credit and threshold

Retrieves the current credit balance for your organization. Ensuring a positive credit balance allows you to create resources. However, for prepaid accounts, if the credit balance falls below $0, all associated resources will be temporarily suspended until a payment is made.

get/billing/user-credit/credit

Request

  • Base URL: https://infrahub-api.nexgencloud.com/v1
  • URL: https://infrahub-api.nexgencloud.com/v1/billing/user-credit/credit
  • Auth: API key in header api_key

Response

Success

messagestring

Human-readable description of the result.

statusboolean

Whether the request succeeded.

Example response

{
  "message": "Success",
  "status": true,
  "data": {
    "credit": 28.147631028367705,
    "can_create_instance": true
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.