Machine Purchase ROI Gate: Decide whether an agent should buy one machine service call before any payment. Validate explicit price, fee, failure probability, retry cost, output value, and budget assumptions; calculate expected net value, finite financial ROI, capital at risk, and the maximum rational price; then return buy, defer, or reject with the binding reason. Never access a wallet, sign, pay, or broadcast. Use when an agent needs to run this published AgentPMT workflow with 2 linked tool.
Documents
machine-payment-endpoint-preflight
Try itMachine Payment Endpoint Preflight: Inspect one public HTTPS endpoint without credentials or payment. Validate the URL, make one bounded GET request, and report whether its HTTP 402 x402 or MPP payment offers are parseable and internally consistent. Return protocols, prices, currencies, networks, recipients, expiries, conflicts, and a safe next action. Never sign, pay, or broadcast a transaction. Use when an agent needs to run this published AgentPMT workflow with 2 linked tool skills, workflow.
What it does
Machine Payment Endpoint Preflight: Inspect one public HTTPS endpoint without credentials or payment. Validate the URL, make one bounded GET request, and report whether its HTTP 402 x402 or MPP payment offers are parseable and internally consistent. Return protocols, prices, currencies, networks, recipients, expiries, conflicts, and a safe next action. Never sign, pay, or broadcast a transaction. Use when an agent needs to run this published AgentPMT workflow with 2 linked tool skills, workflow.
The skill document
Machine Payment Endpoint Preflight
Freshness
Last updated: 2026-08-11.
If the current date is more than 7 days after the last updated date, reinstall this skill from skills.sh or ClawHub before relying on endpoints, schemas, setup steps, or examples.
What This Workflow Does
Inspect one public HTTPS endpoint without credentials or payment. Validate the URL, make one bounded GET request, and report whether its HTTP 402 x402 or MPP payment offers are parseable and internally consistent. Return protocols, prices, currencies, networks, recipients, expiries, conflicts, and a safe next action. Never sign, pay, or broadcast a transaction.
Required Setup
- AgentPMT overview:
../what-is-agentpmt. - Account MCP/REST setup:
../agentpmt-account-mcp-rest-api-setup.
Core AgentPMT setup skills:
- What AgentPMT is: ../what-is-agentpmt
- ClawHub page: https://clawhub.ai/agentpmt/what-is-agentpmt
- OpenClaw install:
openclaw skills install what-is-agentpmt - skills.sh install:
npx skills add AgentPMT/agent-skills --skill what-is-agentpmt
- AgentPMT account MCP/REST setup: ../agentpmt-account-mcp-rest-api-setup
- ClawHub page: https://clawhub.ai/agentpmt/agentpmt-account-mcp-rest-api-setup
- OpenClaw install:
openclaw skills install agentpmt-account-mcp-rest-api-setup - skills.sh install:
npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup
skills.sh install script:
npx skills add AgentPMT/agent-skills --skill what-is-agentpmt
npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup
Workflow Session Management
Call AgentPMT-Workflow-Skills with start_workflow before the first step and end_workflow after the final step.
{"action":"start_workflow","skill_id":"machine-payment-endpoint-preflight"}
{"action":"end_workflow","skill_id":"machine-payment-endpoint-preflight","rating":5,"comment":"completed"}
Workflow Process
- Collect Payment Endpoint
- Prompt: Collect and normalize exactly one public HTTPS endpoint to inspect without credentials or payment.
- Validate Public URL
- Tool product: Data Format Validation.
- Tool skill:
../data-format-validation. - ClawHub page: https://clawhub.ai/agentpmt/data-format-validation.
- skills.sh install:
npx skills add AgentPMT/agent-skills --skill data-format-validation. - Marketplace: https://www.agentpmt.com/marketplace/data-format-validation.
- Tool instructions: Validate the normalized URL from the prior step. Stop if it is invalid, not HTTPS, includes credentials, or cannot be inspected safely. Pass the validated URL to the next step.
- Default parameters are configured on this workflow node; use the linked tool skill for schema details.
- Fetch Unpaid Payment Contract
- Tool product: Webhook - HTTP Request.
- Tool skill:
../webhook-http-request. - ClawHub page: https://clawhub.ai/agentpmt/webhook-http-request.
- skills.sh install:
npx skills add AgentPMT/agent-skills --skill webhook-http-request. - Marketplace: https://www.agentpmt.com/marketplace/webhook-http-request.
- Tool instructions: Fetch the validated public URL exactly once with GET, no credentials, no cookies, no signing, and no payment. Keep the 128 KiB and 15-second caps. Preserve status, final URL, response headers, and bounded body for the report. Treat redirects or a non-402 response as evidence, not success.
- Default parameters are configured on this workflow node; use the linked tool skill for schema details.
- Report Payment Offer Safety
- Prompt: Produce a compact, machine-readable preflight of the unpaid endpoint response and its x402 or MPP payment offers.
Tool Skill Links
- Data Format Validation:
../data-format-validation; ClawHub https://clawhub.ai/agentpmt/data-format-validation; skills.shnpx skills add AgentPMT/agent-skills --skill data-format-validation; marketplace https://www.agentpmt.com/marketplace/data-format-validation - Webhook - HTTP Request:
../webhook-http-request; ClawHub https://clawhub.ai/agentpmt/webhook-http-request; skills.shnpx skills add AgentPMT/agent-skills --skill webhook-http-request; marketplace https://www.agentpmt.com/marketplace/webhook-http-request
AgentPMT Reference
- What AgentPMT is: ../what-is-agentpmt (ClawHub:
what-is-agentpmt, page: https://clawhub.ai/agentpmt/what-is-agentpmt; skills.sh:npx skills add AgentPMT/agent-skills --skill what-is-agentpmt) - AgentPMT account MCP/REST setup: ../agentpmt-account-mcp-rest-api-setup (ClawHub:
agentpmt-account-mcp-rest-api-setup, page: https://clawhub.ai/agentpmt/agentpmt-account-mcp-rest-api-setup; skills.sh:npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup) - Workflow page: https://www.agentpmt.com/agent-workflow-skills/machine-payment-endpoint-preflight
- AgentPMT workflows: https://www.agentpmt.com/agent-workflow-skills
Related skills
Validate paid output before agents accept it
Discover SameDayDesk's twenty-two account-free machine services and produce a verified, non-spending purchase intent from the live OpenAPI contract and unpaid HTTP 402 challenge. Use to select and preflight public web extraction, company or wallet enrichment, repository security scans, JSON-LD generation, AI-search audits, Morpho risk analysis, work opportunities, agent-service discoverability, agent-surface context budgets, contract-qualified service search, seller integrity, x402 or MPP payment offers, Base or Solana transaction evidence, or delegated-wallet policy conformance before a separately authorized payment executor is involved.
Build HTTP 402 machine-to-machine payments with the MPP protocol across TypeScript, Python, and Rust SDKs.
Verify before you pay or install. Checks whether an x402 payment endpoint is safe to pay (liveness, scam scan, on-chain receiver, trust score) and whether an npm/MCP package is safe to install (install-script code execution, abandonment, missing repo/license). Use whenever you are about to pay an unknown API over x402/USDC, install an MCP server or skill, or need current x402 security incidents. Free, no API key.
Balances, funding, transfers, swaps, and isolated x402 payments