Docs · Agent protocols
x402
HTTP 402 payments from agents, verified and settled through a regulated partner.
Mm Sc
Designed. Protocol support is designed. The flow follows the protocol's published specification, with insimbi on the merchant side. Every check and every settlement is written to the record.
Steps in text
- Client (agent) to Merchant API: Request a resource
- Merchant API to insimbi: Price it and check your rules for which assets and networks to accept
- Merchant API to Client (agent): 402 Payment Required with a PAYMENT-REQUIRED header
- Client (agent) to Merchant API: Retry with a signed payment in the PAYMENT-SIGNATURE header
- Merchant API to insimbi: Check the payment against your rules and the agent's mandate
- insimbi to Facilitator (regulated partner): POST /verify
- Facilitator (regulated partner) to insimbi: Verification result (isValid, payer)
- insimbi to Merchant API: Allowed
- Merchant API: Perform the work
- Merchant API to insimbi: Settle
- insimbi to Facilitator (regulated partner): POST /settle
- Facilitator (regulated partner) to insimbi: Settlement result (success, transaction, network)
- insimbi: Write the ledger entry and fee lines to the record
- Merchant API to Client (agent): Return the resource with a PAYMENT-RESPONSE header
- All flowsEvery sequence diagram, linked to its section.
- IntegrationsEvery agent protocol and rail we connect.
- MCP toolsinsimbi as tools for any MCP client.
insimbi is in early access with design partners.