Get your wallet
GET
/walletUse this to check credit before ordering. Top-ups are made in the panel.
- Token
- Bearer API token: cxk_live_ followed by 46 letters and digits
- Scope
billing:read- Header
Authorization: Bearer $CLOUDUXE_API_KEY
How tokens and scopes work: Authentication and scopes.
Clouduxe-VersionstringOptionalThe API version to use, such as 2026-12-01. Omit it to use your token's version.
pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
200OK The wallet.
objectstringRequiredThe object's type. Always "wallet".
balancesarray of MoneyRequiredCredit held, one entry per currency. Empty when you hold none.
Show 2 child attributesHide 2 child attributes
amountintegerRequiredThe amount in the currency's smallest unit. For INR and USD that is one hundredth of the unit.
min -9007199254740991, max 9007199254740991currencystringRequiredThe ISO 4217 currency code, upper case.
pattern ^[A-Z]{3}$
topUpCurrencystring or nullRequiredThe currency a top-up in the panel would add, or null when not known.
pattern ^[A-Z]{3}$livemodebooleanRequiredTrue for objects of your live account.
Every response
- 200OKThe wallet.
- 400Bad requestThe request is not valid. Codes: version_invalid.
- 401UnauthorizedAuthentication failed. Codes: token_missing, token_invalid, token_expired, token_revoked.
- 403ForbiddenThe token is not allowed to do this. Codes: forbidden, ip_not_allowed, api_access_disabled, scope_missing.
- 429Too many requestsA rate limit was reached. Codes: rate_limited.
- 500Server errorUnexpected error. Codes: internal_error.
- 503UnavailableTemporarily unavailable. Codes: unavailable.