Skip to content

Agents (protocol)

x402 V2 on fare.run: PAYMENT-REQUIRED, PAYMENT-SIGNATURE, PAYMENT-RESPONSE

Protocol appendix. Linked from Call, not the homepage hero.

Calling agents: Accept: application/json, PAYMENT-REQUIRED, @x402/fetch. They never sign in. They are not sent to Create.

A seller’s agent that creates or updates fares acts on the seller account (see /docs/create). Mint on /home, Authorization: Bearer, POST /v1/fares. Same unique payTo and confirm-change rules. Not a second catalog. Not a buyer SDK. Not GitHub OAuth.

Network eip155:8453. Asset Base USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913. Scheme exact. extra.assetTransferMethod eip3009. extra.paymentFlow upfront. maxTimeoutSeconds 600.

Headers: PAYMENT-REQUIRED (402), PAYMENT-SIGNATURE (retry), PAYMENT-RESPONSE (200). V1 X-PAYMENT is accepted as an alias.

JSON 402 body equals the decoded PAYMENT-REQUIRED object. Empty {} is a bug.

Fare does not ship a buyer SDK. Do not use @farerun/sdk.

Create a fare