THAMER
Sovereign Bitcoin Wallet

WALLET AI BITCOIN

Your Bitcoin Wallet. Your Keys. Your Engine.

Self-hosted Bitcoin software built for developers, applications, and AI agents.

CREATE WALLET

WAB Agent Payment Authorization and Idempotent SEND

permalink THAMER
#ai-agents#api#bitcoin#testnet#wab

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

Questions & Answers

Explore all questions →

Latest from the Lab

THAMER illustrated developer portrait and signature

ABOUT THE DEVELOPER

Independent Software Developer specializing in Bitcoin Script, Golang, and AI Agents.

Software engineering · Independent research · Open-source projects