/api/v1/wallet/balance wallet:readReturns the custodial USDC credit balance rip.fun holds for one end-user. Identify the user with external_user_id (your id) and/or wallet_address — the user is auto-provisioned on first reference. Amounts are integer micros as strings plus *_usdc decimal strings; available = balance − reserved.
GET /api/v1/wallet/balance?external_user_id=demo-explorer These inputs are shared across all docs pages — an id entered here carries over.
{
"success": false,
"message": "Invalid API key",
"error": "API key not found or inactive"
}curl -X GET 'https://staging-service.rip.fun/api/v1/wallet/balance?external_user_id=demo-explorer' \ -H 'X-API-Key: rip_v1_…'
| Field | Type | Required | Description |
|---|---|---|---|
external_user_id | query string | — | Your id for the end-user (≤255 chars). At least one identifier required. |
wallet_address | query string | — | End-user Base wallet address |
data)| Field | Description |
|---|---|
end_user | Resolved end-user (id, external_user_id, wallet_address) |
wallet.available / reserved / balance | USDC micros as strings ("12500000" = 12.5 USDC) |
wallet.*_usdc | Decimal display strings of the same values |