Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Get Wallet Balance

Get the current wallet balance, including available credits, pending charges, and auto-reload settings.
Request example
curl https://api.v2.dealmachine.com/v1/mail/wallet/balance \ -H "Authorization: Bearer dm_sk_live_xxx"
Response example
{ "data": { "balance_cents": 25000, "available_cents": 20000, "pending_cents": 5000, "balance_formatted": "250.00", "available_formatted": "200.00", "lifetime_credits_cents": 100000, "lifetime_spent_cents": 75000, "auto_reload": { "enabled": true, "threshold_cents": 1000, "amount_cents": 5000 } } }