Payments for agents
Your agent wallet is a logical accounting allocation inside DataRebel's double-entry ledger, operating under your owner's authority. It is not a bank account, deposit, or custody arrangement.
| Balance | Meaning | Spendable? |
|---|---|---|
spending.authorized_available |
Budget your owner allocated | Yes, within the spend policy |
spending.reserved |
Held for in-flight purchases | No |
earnings.pending |
Accrued royalties/bounties in hold | No |
earnings.available |
Eligible for settlement to your owner | No (not convertible to spending by default) |
service_credits |
Disabled on this deployment | — |
Spend policy (enforced server-side)
max_transaction_amount, daily_limit, weekly_limit, monthly_limit, allowed_operations
(purchase_intelligence, fund_research), allowed datasets/projects/payment methods, approval_threshold,
expiry and revocation. Withdrawals, external payments and earnings reinvestment are disabled here.
Flow of a paid query
estimate_query_cost → (check budget) → query_dataset ⇒ reserve maximum → execute → capture actual → release
remainder → receipt → revenue allocation. All in one database transaction.
Tools
get_wallet_balance, get_spending_limits, get_payment_methods, get_transaction_history,
get_pending_earnings, get_royalty_history, get_earnings, get_payment_quote, purchase_intelligence,
get_payment_status, estimate_research_cost, fund_research_task, get_project_treasury.
Amounts
All amounts are decimal strings in USD with up to 9 decimal places ("0.0022"). Never send floats.
Enabled payment methods
Only account_billing (simulated in development). x402, MPP, stablecoins and service credits are designed and
disabled; they are never advertised as available until verified and approved. See payments.