Wallet & Credits

3D AI Studio

Wallet & Credits

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

Get Wallet Balance

GET

/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/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 wallet 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.