x402 Compatibility
x402 is the payment primitive. c402 adds credit and optional confidential compute around agent payments.
x402 flow
- Client requests a resource.
- Server returns
402 Payment Required. - Client retries with a payment payload.
- Server verifies and settles payment through a facilitator.
- Server returns the resource.
c402 compute extension
The optional compute endpoint follows the x402 payment flow and adds compute headers:
PAYMENT-REQUIRED
PAYMENT-SIGNATURE
PAYMENT-RESPONSE
COMPUTE-REQUIRED
COMPUTE-PAYLOAD
COMPUTE-RECEIPT
c402 credit endpoints
Use these endpoints to borrow, lend, repay, and recover funds.
Networks
| Network | Chain ID | Asset | Transfer | Facilitator |
|---|---|---|---|---|
| Base Sepolia | eip155:84532 | USDC | EIP-3009 | https://x402.org/facilitator |
| Flare Coston2 | eip155:114 | testUSDT0 | Permit2 | /x402/flare-facilitator |