Account

Returns the current balance for your account.

Using the Python client:

import pixellab

client = pixellab.Client(secret="YOUR_API_TOKEN")
balance = client.get_balance()
print(f"Current balance: {balance.usd} USD")
get/balance

Request

Response

Successfully retrieved balance

type'usd'
usdnumber required

Changes

    • info

      the response property const value usd was added for the status

    • info

      removed the usd enum value from the response property for the response status