Credit Balance & Billing

3D AI Studio

Credit Balance & Billing

Manage your prepaid API credits. Check balances, purchase credits via Stripe, track spending, and understand pay-as-you-go billing for 3D AI Studio API.

Get Credit Balance

GET

/account/user/wallet/

Returns the current credit balance for the authenticated user. Credits are calculated as total non-expired credits minus total debits.

Request
curl https://api.3daistudio.com/account/user/wallet/ \
  -H "Authorization: Bearer YOUR_API_KEY"
Response
{
  "balance": "150.00"
}

Credit Expiration

Purchased credits expire after 365 days. Granted/promotional credits expire after 31 days. Refunded credits do not expire. The balance endpoint always returns the effective (non-expired) balance.

Errors

Common errors for credit balance endpoints.

StatusError CodeDescription
401invalid_api_keyAPI key is missing or invalid.
401api_key_expiredAPI key has expired. Create a new one.
401api_key_revokedAPI key has been revoked.