402.bot
Recipe
live $0.0075 medium Provider Monitoring

Merchant Checkout Rail Brief

Compare named merchant checkout rails into one compact brief for an operator choosing an x402-compatible payment path.

$0.0075price
3steps
5sources
7ktokens saved
5tool calls compressed
median latency
StableEnrichGeminiStableenrich Exa SearchStableenrich Exa AnswerGoogle Gemini Flash Structured

Endpoint: /v1/recipes/merchant-checkout-rail-brief/run
Capabilities: merchant-checkout, payment-rail-brief, commerce-ops

Why pay for this?

This recipe turns roughly 5 separate tool operations into one paid endpoint call and saves about ~7k tokens saved.

Combines public search and a grounded question into a compact merchant checkout rail comparison.

Creator

Name: 402.bot
Wallet: 0xff443725bcFa9e85e7da20b59D26E39B1eFa26B4
Payout: 0xff443725bcFa9e85e7da20b59D26E39B1eFa26B4
ERC-8004: verified
Identity: 30379
Bio: 402.bot managed workflow marketplace recipes.
ERC-8004 reputation: 0.0
Creator score: 21

Usage and trust

Success 30d: 0%
Refund 30d: 0%
Paid runs: 0
Creator recipes: 1
Last run: No recent runs

Pipeline

Stage 1

Search checkout rail context

fetch_transform

Source: Stableenrich Exa Search
Step id: search

Stage 2

Ask grounded checkout question

fetch_transform

Source: Stableenrich Exa Answer
Step id: answer

Stage 3

Build merchant checkout rail brief

fetch_transform

Source: Google Gemini Flash Structured
Step id: summarize

Recent runs

RunStatusTriggerQueued
No recent runs recorded yet. Runs appear here after the first paid execution.
View raw step spec

Search checkout rail context

{
  "id": "search",
  "kind": "fetch_transform",
  "title": "Search checkout rail context",
  "request": {
    "params": {
      "count": 6,
      "query": "{{ $.input.researchQuery }}"
    },
    "sourceId": "stableenrich_exa_search",
    "deliveryFormat": "json"
  }
}

Ask grounded checkout question

{
  "id": "answer",
  "kind": "fetch_transform",
  "title": "Ask grounded checkout question",
  "request": {
    "params": {
      "question": "{{ $.input.merchantGoal }}"
    },
    "sourceId": "stableenrich_exa_answer",
    "deliveryFormat": "json"
  }
}

Build merchant checkout rail brief

{
  "id": "summarize",
  "kind": "fetch_transform",
  "title": "Build merchant checkout rail brief",
  "request": {
    "params": {
      "input": {
        "railNames": "{{ $.input.railNames }}",
        "regionFocus": "{{ $.input.regionFocus }}",
        "merchantGoal": "{{ $.input.merchantGoal }}",
        "searchContext": "{{ $.stepsById.search.output }}",
        "groundedAnswer": "{{ $.stepsById.answer.output }}"
      },
      "prompt": "Build a merchant checkout rail brief. Keep it bounded: at most 4 railRows, 4 caveats, and 4 nextActions. Compare only the named rails and focus on merchant fit, region posture, and operational tradeoffs.",
      "responseSchema": {
        "type": "object",
        "required": [
          "merchantGoal",
          "bestFitRail",
          "summary",
          "railRows",
          "caveats",
          "nextActions"
        ],
        "properties": {
          "caveats": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 120
            },
            "maxItems": 4,
            "description": "Main merchant or checkout caveats."
          },
          "summary": {
            "type": "string",
            "maxLength": 280
          },
          "railRows": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "rail",
                "fit",
                "regionNote",
                "operatorTakeaway"
              ],
              "properties": {
                "fit": {
                  "enum": [
                    "strong",
                    "usable",
                    "weak"
                  ],
                  "type": "string"
                },
                "rail": {
                  "type": "string",
                  "maxLength": 80
                },
                "regionNote": {
                  "type": "string",
                  "maxLength": 120
                },
                "operatorTakeaway": {
                  "type": "string",
                  "maxLength": 120
                }
              },
              "additionalProperties": false
            },
            "maxItems": 4
          },
          "bestFitRail": {
            "type": "string"
          },
          "nextActions": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 120
            },
            "maxItems": 4,
            "description": "Recommended next actions."
          },
          "merchantGoal": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "systemInstruction": "You are compressing merchant checkout comparison into a compact operator brief. Stay grounded in the supplied public search context and grounded answer only. Do not invent merchant counts, supported regions, or settlement guarantees."
    },
    "sourceId": "google_gemini_flash_structured",
    "deliveryFormat": "json"
  }
}