Credits

Get credit balance

Returns the account's available credit as a decimal string. An account with no balance record yet has an available_credit of 0. Credits apply to ISV accounts only: an Enterprise account gets a 412.

get/credits

Request

  • Base URL
    https://api.textla.com/v1
  • Auth
    HTTP bearer

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

available_creditstring required

The available credit, as a decimal string. An account with no balance record yet has 0.

has_purchased_creditsboolean required

Whether the account has ever purchased credits.

Example response

{
  "$schema": "/v1/schemas/CreditBalance.json"
}

Changes

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