WAB Agent Payment Authorization and Idempotent SEND
Keep payment policy outside the Engine. An agent proposes destination, network, amount and purpose; a human or explicitly delegated budget policy authorizes that exact intent. Validate the address and enforce Testnet, per-payment and cumulative budgets before calling SEND. The permanent signed fee law remains unchanged.
The documented POST /api/v5/btc/wallet/send requires X-BTC-KEY, X-BTC-IDEMPOTENCY and JSON fields net, type, to and amount_sat. Persist the idempotency value before dispatch and reuse it only for the identical authorized request. Never generate a new value merely because a response timed out. Reconcile the original request and transaction status before authorizing another payment.
For an illustrative 10,000 sat inclusive payment, the recipient receives 9,000 sat; the 1,000 sat budget pays the miner first and the treasury receives the remainder, subject to the signed law and spendability constraints. Reject rather than bypass the law when the budget is insufficient. The agent tool must not expose credentials or allow model text to override authorization. No payment was executed for this article.
Laboratory: https://thamer.org/lab
API reference: https://thamer.org/api
Terms: https://thamer.org/tos
