Skip to content

docs: x402 quickstarts are about paying, verify on the ledger - #465

Merged
M0nsxx merged 1 commit into
mainfrom
docs/quickstart-x402-refresh
Nov 22, 2026
Merged

M0nsxx merged 1 commit into
mainfrom
docs/quickstart-x402-refresh

Conversation

@Eras256

@Eras256 Eras256 commented Nov 22, 2026

Copy link
Copy Markdown
Member

Both x402 quickstarts (EN and ES), unchanged for 3 weeks, checked against the live endpoints today.

  • Title: "Charge AI Agents" -> "Pay for an x402 API". The guide is the paying side; it now links to x402Serve() for charging.
  • Verify step was wrong: it said the transaction's source account is yours. In x402 on Stellar the facilitator is the source (it pays the fee) and the USDC transfer inside goes from your account to payTo (seen on testnet in Add CrewAI x402 tool example  #438's tx). Now: open your account on Stellar Expert and find the transfer. The EN version also said a paid response "should still prove" the flow completed; per our own rule only the settled transaction proves a payment, and it now says so.
  • EN was missing: the USDC trustline and faucet (links to the ES steps), maxAmountPerPayment with the $1 default and X402SpendCapError, the trustline error, and the endpoints table. Default example moved from signals to market, the endpoint that also exists on mainnet.
  • Endpoints table (both): prices read from each live 402 challenge today: signals 0.02, market 0.05, execute 0.25 USDC; execute is POST (GET returns 404); on mainnet signals and execute answer 501.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@M0nsxx M0nsxx left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI-assisted review (Claude)

Checked: docs only. Both x402 quickstarts now describe the paying side, the verify step no longer claims the tx source is the payer (the facilitator is the source; the USDC transfer comes from the payer), and a 200 is no longer presented as proof of payment. Endpoint prices match the live 402 challenges (0.02 / 0.05 / 0.25 USDC, execute is POST). CI green. Approving.

@M0nsxx
M0nsxx merged commit 31cd5cf into main Nov 22, 2026
4 checks passed
@M0nsxx
M0nsxx deleted the docs/quickstart-x402-refresh branch November 22, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants