# 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.

Content type: workflow
Source URL: https://www.agentpmt.com/agent-workflow-skills/machine-payment-endpoint-preflight
Markdown URL: https://www.agentpmt.com/api/agent/workflows/machine-payment-endpoint-preflight?format=agent-md
Updated: 2026-08-11T11:19:07.448Z
Author: samedaydesk

---

Estimated time saved: 15 minutes.

## Tools

- Data Format Validation
- Webhook - HTTP Request

## Workflow Outline

1. Collect Payment Endpoint: Goal: Collect and normalize exactly one public HTTPS endpoint to inspect without credentials or payment. | Inputs: A caller-supplied HTTPS URL, including any non-secret query values required to reach its unpaid payment...
2. Validate Public URL: 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.
3. Fetch Unpaid Payment Contract: 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, resp...
4. Report Payment Offer Safety: Goal: Produce a compact, machine-readable preflight of the unpaid endpoint response and its x402 or MPP payment offers. | Inputs: The normalized requested URL, URL validation result, and bounded HTTP result including st...

## Frequently Asked Questions

### How do I connect this workflow to my local agent like OpenClaw or Claude Code?

You can install the local MCP server by opening a terminal and running:

```
npm install -g @agentpmt/mcp-router
agentpmt-setup
```

This will connect you to local agents like Claude Code, Windsurf, Grok Build, Cursor, etc.

Alternatively you can connect to the hosted version with this config block, no installation required:

```
{
  "mcpServers": {
    "agentpmt": {
      "type": "streamable-http",
      "url": "https://api.agentpmt.com/mcp",
      "headers": {
        "Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
        "x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
      }
    }
  }
}
```

[View MCP Connection Instructions](/docs/mcp-reference/connection) for more details.

### How do I trigger this workflow?

You can use it here in the browser by clicking the 'Try It' button.

If you 'star' the workflow it will save to your dashboard for quick access.

To use the workflow in an external agent, make sure you have followed the steps to connect it to the MCP server and then copy / paste this prompt, or just tell it to use the AgentPMT MCP server and use this workflow.

> Call the AgentPMT-Workflow-Skills tool with action 'get\_workflow\_skill' and skill\_id 6a7b0450b6dc06ff61e21233 ("Machine Payment Endpoint Preflight").