x402 Core

Settle an x402 payment on-chain

Submit and settle a USDC payment via EIP-3009 transferWithAuthorization on Base L2. This is the full settlement call — verifies the grant and executes on-chain in one step.

post/x402/settle

Request

  • Base URL: https://x402-agent-pay.com
  • URL: https://x402-agent-pay.com/x402/settle
  • Auth: none declared

Request body

payment_headerstring required

Base64-encoded EIP-712 signed grant

resourcestring
partner_idstring

Optional — routes revenue share to a provider

Response

Settlement confirmed

payment_idstring
tx_hashstring

Base L2 transaction hash

amount_usdcnumber
settled_atstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.