billing

Get credit balance and pricing

Changed on

Fetches the authenticated account's remaining credits, the account email the credentials belong to, and current credit purchase pricing. Confirm the account email before purchasing credits, since credits are non-transferable between accounts.

get/v2/credits

Request

  • Base URL
    https://backend.blotato.com
  • Auth
    API key in header blotato-api-key

Response

Credit balance, the account email, and credit purchase pricing

creditsRemaininginteger required
accountEmailstring required
pricePer1000CreditsUsdnumber required

Example response

{
  "creditsRemaining": 54688,
  "accountEmail": "user@example.com",
  "purchaseQuantityRange": {
    "min": 1000,
    "max": 10000
  },
  "pricePer1000CreditsUsd": 6
}

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the non-success response with the status