GET
https://api.rodiumai.io/v1/walletAPI
Get wallet
Returns the spendable balance_rodi and total_spent_rodi for the authenticated key. Bearer rd_sk_… required.
Request examples
…SDK helpers
………Response
…| Field | Type | Meaning |
|---|---|---|
| object | string | Always wallet |
| balance_rodi | decimal string | Spendable RODI: wallet balance minus holds of requests in flight |
| total_recharged_rodi | decimal string | RODI credited by top-ups since the wallet was created |
| total_promotion_rodi | decimal string | RODI credited by promotions and bonuses |
| total_spent_rodi | decimal string | RODI spent on settled requests |
| low_balance_threshold | decimal string | Balance under which the dashboard warns you |
| updated_at | ISO 8601 | Last change to the wallet |
| currency | string | Always RODI |
- Amounts are strings to keep decimal precision; parse them as decimals, not floats.
- Requires an
rd_sk_key inAuthorization: Bearer. It always describes your main wallet, even when the key bills a provided-credit allotment. OIDC tokens (FRODI) get404. - Reading the wallet before and after a call is one way to see what it cost; see Pricing and billing.