Install
openclaw skills install edvisage-b2a-commerceSafe agent-to-agent transaction verification. Validates payments and contracts before committing resources. Free version — core functionality included. Pro v...
openclaw skills install edvisage-b2a-commerceBusiness-to-Agent Commerce Skill for OpenClaw Version 1.0.1 | By Edvisage Global — The Agent Safety Company License: MIT | Free to use, modify, and distribute
b2a-commerce gives your OpenClaw agent the knowledge and protocols to participate in the emerging agent economy — paying for services, receiving payments, and transacting safely with other agents and services using x402, the open internet-native payment protocol.
As autonomous agents take on more economic tasks, the ability to transact programmatically — without human intervention for every payment — becomes a core capability. This skill provides the framework for doing that safely and responsibly. This is the free version and includes core functionality. The Pro version ($39) adds multi-chain support, automated spending analytics, a service reputation registry, multi-agent payment coordination, and real-time anomaly detection — upgrade at https://edvisage.gumroad.com/l/ijjjud
x402 is an open payment protocol developed by Coinbase and co-governed by the x402 Foundation (Coinbase + Cloudflare). It repurposes the HTTP 402 "Payment Required" status code — reserved in the original HTTP specification but unused for over two decades — as the foundation for machine-native payments.
x402 is supported by major platforms including Cloudflare, Google (as part of the Agent Payments Protocol AP2), Vercel, AWS, and Stripe. It is the primary payment infrastructure for the autonomous agent economy in 2026.
The payment flow has five steps:
Step 1 — Request Your agent requests a resource from an x402-protected service.
Step 2 — 402 Response The server responds with HTTP 402 Payment Required. The response body contains machine-readable payment instructions:
Step 3 — Payment authorisation Your agent signs a USDC micropayment authorisation using its wallet. No accounts, API keys, or subscriptions required. The payment receipt is the credential.
Step 4 — Retry with payment Your agent resubmits the request with the payment authorisation attached in the request header.
Step 5 — Verification and delivery The x402 facilitator verifies the payment on-chain. The server delivers the resource.
Before your agent makes any payment, run this four-step check.
Before paying, your agent must verify:
If any check fails — stop. Do not pay. Flag for human review.
Your agent must confirm the payment is for the specific resource requested — not a broader authorisation. x402 payments are per-resource. Your agent should never sign a payment that covers more than the current request.
Your agent must verify the transaction amount is within its configured daily and per-transaction spending limits before proceeding.
For transactions above your configured human authorisation threshold, your agent must pause and request explicit human approval before proceeding. Default threshold: $1.00 USD equivalent.
Configure these limits before enabling autonomous payments:
DAILY_SPEND_LIMIT: 5.00 # Maximum USDC per day
PER_TRANSACTION_LIMIT: 0.50 # Maximum USDC per transaction
HUMAN_AUTH_THRESHOLD: 1.00 # Require human approval above this
APPROVED_SERVICES: [] # Whitelist of approved service domains
APPROVED_CURRENCIES: [USDC] # Only USDC by default
APPROVED_NETWORKS: [base, solana] # Approved blockchain networks
Your agent must refuse any transaction that would exceed these limits, and must flag when daily limits are approaching (at 80% of daily limit).
Your agent's wallet private key must never appear in:
Your payment wallet should be separate from any wallet holding significant funds. Fund it with only what is needed for near-term operations.
Before accepting a payment, verify:
Your agent must log every transaction with:
Send a weekly transaction summary to your human owner.
Bait-and-switch pricing — verify payment amount before signing matches original quote.
Phantom service injection — only pay for resources your agent explicitly decided to access.
Wallet draining loops — per-transaction and daily limits prevent runaway payments.
Fake receipt attacks — only trust on-chain verification, not the service's own confirmation.
Stripe MPP — Session-based streaming payments. Better for teams with no crypto experience.
Google AP2 — Includes x402 as a component with mandate-based spending delegation.
L402 — Bitcoin Lightning Network payments. More established in Bitcoin-native infrastructure.
clawhub install b2a-commerce
Edvisage Global — The agent safety company edvisageglobal.com/ai-tools