x402 Facilitator (Path B)
Create an x402 payment settlement on Solana
Changed onPath B facilitator /settle: permanent message-hash reservation, cosign feePayer, submit, fail-closed confirm. Returns twzrd_receipt (V7) + merchant_attach for payTo. Gas-sponsored settle + trust memory in one hop. Attach is best-effort - never voids on-chain settle. Policy/replay failures usually HTTP 200 with success=false. Not Path A multi-rail paid-trust 402. settle_gate_enabled does not gate this rail when false (current prod default).
post/settle
Request
- Base URLhttps://intel.twzrd.xyz
- Authnone required
Request body
Response
Settle result. success=true includes transaction + best-effort twzrd_receipt/merchant_attach; success=false with errorReason for policy/replay (e.g. duplicate_settlement) still HTTP 200.
Example response
{
"success": true,
"transaction": "<solana-sig>",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payer": "<base58>",
"settlement_recorded": "recorded",
"twzrd_receipt": {
"version": "v6"
},
"merchant_attach": {
"attached": true,
"facilitator": "twzrd",
"signed": true
}
}Changes
- info
endpoint added
- info