Skip to Content

Agentic Payment Flows

Signet supports three primary types of agentic payment flow.

1. Pay-per-request (API endpoint) flow

  • How it works: the agent sends an ordinary HTTP request to a paid API or data resource. The merchant’s server intercepts the unpaid call and challenges the agent with an HTTP 402 Payment Required response. The agent checks the cost against its spending session, signs a payment authorization and retries the request, then receives the data immediately.
  • Payment mechanism: a short negotiation through x402 (HTTP 402) headers. The agent signs an off-chain voucher with its active session key, and the merchant server passes it through the Signet Facilitator, which verifies and settles it onchain.
  • Typical use: granular pay-as-you-go API calls, real-time market data feeds and individual AI model inferences.

2. Cart and checkout (e-commerce) flow

  • How it works: the agent manages the state of an online order by adding, updating or removing items in the merchant’s shopping cart, through an API or browser automation. When the cart is final, the agent starts the checkout. The merchant server answers with an HTTP 402 response that contains the consolidated order total, the order ID and the payment destination.
  • Payment mechanism: order-bound x402 or delegated authorization. The agent’s session key generates the payment signature, which is sent to the merchant server before the facilitator clears the stablecoin transaction.
  • Typical use: retail e-commerce and the purchase of physical goods.

3. Subscription and entitlement flow (pre-purchased allowance)

  • How it works: a person or an agent buys a tier or plan up front, for example 1,000 credits.
  • Payment mechanism: when calling services, the agent signs an authentication payload with its session key to prove that it holds a valid, active entitlement. No new money moves on individual calls; the usage balance is decremented against the prepaid credit balance instead.
  • Typical use: high-frequency API usage, enterprise agent toolkits and SaaS subscriptions.

Summary of flow types

Flow typeHow payment is negotiatedTypical use
1. Pay-per-requestPer-call HTTP 402 challenge and responseAPI endpoints, data feeds, single queries
2. Cart and checkoutE-commerce web or API interaction that carries order statePhysical product purchases, retail shopping
3. Entitlement / creditPre-purchased credit balance, decremented per taskSaaS platforms, tiered API plans

Who decides and drives the payment flow?

The merchant decides which payment flow to use, based on its business model, its product type and its server architecture. Neither the Signet platform nor the AI agent dictates the merchant’s business model. Signet is the neutral payment infrastructure and facilitator, and the agent is the client that consumes the service.

How flow selection and integration work

1. The merchant chooses a flow strategy. The merchant picks the approach that matches what it sells:

  • API or data provider: a direct HTTP 402 pay-per-request flow, using x402 schemes such as exact or upto on each call.
  • E-commerce or physical goods: an order checkout or delegated authorization flow, in which cart sessions are created and an authorized payment is requested before fulfillment.
  • Streaming compute or LLMs: a metered session flow that uses time-based or usage-based streaming payments.

2. The merchant server uses the Signet SDK. To implement the chosen flow, the merchant integrates the Signet Merchant SDK into its back end. The SDK orchestrates the handshake with the agent on the merchant’s side:

  • Step 1, challenge generation. When an unpaid request arrives, the SDK intercepts it and replies with HTTP 402 Payment Required. The response states the scheme to use (for example exact, upto or auth-capture), the price, the token asset (for example USD8) and the recipient address, together with unique transaction or order metadata and nonces.
  • Step 2, guiding the agent. The SDK formats the 402 payload in a standard, machine-readable way. The agent reads these instructions from the header and knows exactly what to do next, such as signing a payload, requesting a higher spending limit or confirming a checkout.
  • Step 3, verification and settlement. When the agent returns the signed authorization in the PAYMENT-SIGNATURE header, the merchant server routes it through the Signet Facilitator API. Signet checks that the agent holds a valid pass and session signature, settles the transaction onchain and signals the result back to the merchant.

Responsibilities

PartyRole in driving the flow
MerchantDecides the business model and starts each step. Embeds the Signet SDK in its back end to challenge the agent with specific payment terms (HTTP 402).
Signet platformEnforces the rules and settles payments. Provides the pass identity registry, spending-policy validation and the facilitator infrastructure that settles funds onchain.
AI agentExecutes the instructions. Parses the merchant’s 402 challenge, checks it against its spending policy, signs the payment authorization with its local session key and retries the request.