Verifies the EIP-712 signature, atomically claims the nonce (replay protection), and executes the on-chain USDC transfer via the merchant’s forwarder contract. Call this from your server middleware on every round-2 request. No authentication required.
Documentation Index
Fetch the complete documentation index at: https://docs.swiftpay.finance/llms.txt
Use this file to discover all available pages before exploring further.
1
Base64-encoded EIP-3009 payment payload from the X-PAYMENT header
"eyJ4NDAyVmVyc2lvbiI6MSwi..."
One accepted payment option, returned inside a 402 response body and passed back unchanged when calling settle.
Settlement succeeded. Encode the response body as JSON in the X-PAYMENT-RESPONSE header.
Returned by POST /v1/x402/settle. Encode as JSON in the X-PAYMENT-RESPONSE header.
On-chain transaction hash
"0xabc123def456..."
CAIP-2 network where settlement occurred
"eip155:8453"
Payer wallet address (lowercase)
"0xpayeraddress..."
Token base units transferred
"100000"
Token contract address
"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
SwiftPay payment record ID
Machine-readable error description when success=false