Returns the current balance, spending totals, and wallet address for the project linked to the authenticated API token. Balances are reported in both USD and USDC.
Requires a bearer token with the read permission.
Request
This endpoint takes no query parameters or request body.
Response
Unique project identifier.
Default currency. Always "usd".
Available balance in cents. This is the total spendable amount across all currencies.
Pending balance in cents. Funds in transit that are not yet available.
Cumulative amount funded into this project in cents.
Cumulative amount spent from this project in cents.
Available USD balance in cents.
Pending USD balance in cents.
Cumulative USD funded in cents.
Cumulative USD spent in cents.
Available USDC balance in micro-USDC (1 USDC = 1,000,000).
Pending USDC balance in micro-USDC.
Cumulative USDC funded in micro-USDC.
Cumulative USDC spent in micro-USDC.
Bridge wallet address on Base for receiving USDC deposits. null if no wallet has been created yet.
Examples
curl https://api.unwall.xyz/v1/balance \
-H "Authorization: Bearer aw_live_xxxxxxxxxxxx"
{
"project_id": "proj_abc123",
"currency": "usd",
"available": 5250000,
"pending": 0,
"total_funded": 6000000,
"total_spent": 750000,
"available_usd": 250000,
"pending_usd": 0,
"total_funded_usd": 1000000,
"total_spent_usd": 750000,
"available_usdc": 50000000,
"pending_usdc": 0,
"total_funded_usdc": 50000000,
"total_spent_usdc": 0,
"wallet_address": "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD28"
}