Skip to main content
The most interesting demo of agentic payments isn’t another LLM chain — it’s letting an agent reach into the physical world. This recipe writes a warm note with Claude, renders the card front with fal.ai, and prints + mails it via Lob at USPS rates. You pay ~$2.08 in USDC. A physical postcard shows up in someone’s mailbox 3–5 days later.
The card front is the only part a capable client could draw itself; the un-fakeable part is the last step — a sandbox can’t put a stamped postcard in a real mailbox. That’s the durable value of the gateway: a real-world action settled in USDC.

The prompt


What runs

  1. POST /anthropic/v1/messages — Claude writes the note text (~$0.02)
  2. POST /fal/fal-ai/flux/dev — Flux renders the card front (~$0.06)
  3. POST /lob/v1/postcards — Lob prints + mails the physical postcard (~$2.00)

Run it

SDK

Claude Desktop (MCP)

The chain above runs end-to-end in Claude Desktop if you paste the natural-language prompt — the MCP wallet handles the three 402s in sequence and Claude orchestrates the data flow.

Expected output

Lob returns a tracking ID + expected delivery date.

Extend it

  • Use Lob /v1/letters (~$3.00) for multi-page letters instead of postcards
  • Verify the destination first with Lob /v1/verify (~$0.02) to catch typos before paying $2.00
  • Swap Flux Dev for Recraft 20B (/fal/fal-ai/recraft-20b) for vector-style illustrations
  • Generate batches: 10 unique cards to 10 friends, ~$20.80 total, one tap-free pass