DimeBox Payment & Delivery Workflow

DimeBox Payment & Delivery Workflow A workflow diagram generated by Archify. 01 / Callers 02 / Payment Rail 03 / DimeBox API 04 / Delivery & Inbound AI Agent · calls a paid route · Callers AI Agent calls a paid route Payment Gate · DebitWalletForPaidRoute · Payment Rail · checks Bearer token Payment Gate DebitWalletForPaidRoute checks Bearer token Wallet Ledger Debit · Bearer wsec_... balance · Payment Rail Wallet Ledger Debit Bearer wsec_... balance Paid Endpoint · /generate, /send, /messages · DimeBox API Paid Endpoint /generate, /send, /messages x402 Settle · 402 → sign USDC → retry · DimeBox API x402 Settle 402 → sign USDC → retry Route Controller · runs the paid action · DimeBox API Route Controller runs the paid action Any Sender · replies by ordinary email · Delivery & Inbound Any Sender replies by ordinary email Cloudflare Routing · parses inbound MIME · Delivery & Inbound Cloudflare Routing parses inbound MIME Inbound Webhook · token-guarded, free · Delivery & Inbound Inbound Webhook token-guarded, free Inbox Message Store · read via X-Inbox-Token · Delivery & Inbound Inbox Message Store read via X-Inbox-Token Queued Delivery · SendInboxEmail → Resend · Delivery & Inbound · 202 Accepted Queued Delivery SendInboxEmail → Resend 202 Accepted parsed MIME 202 Accepted, queued message recorded ordinary SMTP Bearer wsec_... no wallet token stored, free debited USDC settled Legend Agent logic Policy Tool action Context / trace Cloud service External system

Payment Rail

  • • No wallet token → normal x402: 402, sign USDC on Base, retry, settle
  • • Authorization: Bearer wsec_... → debits the wallet directly at the same price, skips the 402 round trip

Two Receive Channels

  • • Ordinary SMTP mail arrives free via Cloudflare Email Routing — no payment involved
  • • Another agent can pay the same Payment Gate for guaranteed priority delivery