PayStage — x402 payment safety and spend policy

io.github.base-buzz/x402-payment-safety · v0.8.19 · finance-and-payments

PayStage — x402 payment safety and spend policy is healthy: it completed an MCP handshake in 1337 ms and exposes 10 tools.

x402 payment safety: judge a payment against your policy before signing. No keys, never signs.

Endpoint: https://api.paystage.xyz/mcp (streamable-http)

Repository · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count10
Latency1337 ms
Last checked (UTC)2026-11-29T15:20:23.860Z

Health history

Checked (UTC)StatusLatencyError
2026-11-29T15:20:23.860ZHealthy1337
2026-11-27T06:40:52.779ZHealthy839
2026-11-24T23:30:21.676ZHealthy1829
2026-11-22T18:30:26.965ZHealthy837
2026-11-20T15:10:31.651ZHealthy1234
2026-11-18T12:45:45.193ZHealthy1182

Tools (10)

evaluate_mcp_paymentverify the recipient. Call this BEFORE signing any x402 payment. Verdict is pay | review | do_not_pay, each with stable reason codes (e.g. 'amount 1.00 USDC exceeds max_amount 0.05 USDC'). Fail-closed by design: do not invent authority — when policy, identity, cost or evidence is missing the answer
list_outstanding_authsspending limits. Call this when auditing what an agent could still spend without a new signature — ERC-20 allowances, Permit2 and EIP-3009 authorisations. Returns each authorisation with spender, amount and expiry. Read-only and needs only a public RPC; no key, no funds moved. Use it after an incide
evaluate_outstanding_authsspending limits. Call this when an agent already holds authorisations and you need to know which are dangerous. Verdict is pay | review | do_not_pay per authorisation, with reason codes naming the rule that fired (unlimited allowance, expiry already passed, spender not on the allow-list). Returns pe
evaluate_hip3_tradetransaction scope. Call this BEFORE an agent places a HIP-3 / trade.xyz order. Verdict is allow | review | do_not_trade, with the rule that fired (notional above cap, market not allowed, leverage too high). Returns the decision and a one-line reason. Local policy only: this is not financial advice,
evaluate_velocitytransparent risk assessments. Call this when an agent is about to make its Nth payment and you need to know whether the rate itself is the risk. Verdict is pay | review | do_not_pay over a rolling window (per-hour and per-day spend, count of payees). Returns the decision plus which window was breach
verify_receiptverify the recipient. Call this when you have a receipt and want to know whether it is genuine, without trusting the server that issued it. Returns VALID with the verdict it attests to, INVALID if the payload was altered, or UNVERIFIABLE when the key cannot be fetched — and UNVERIFIABLE is a refusal
decode_payment_requiredverify the recipient. Call this first when a 402 response arrives and you cannot read the payment-required header. Returns the decoded x402 v2 challenge: scheme, network, asset, atomic amount, payee, resource and timeout. Pure decoding: no network call, no signature, no verdict — use evaluate_mcp_pa
validate_policyspending limits. Call this before wiring a policy into anything: a policy that fails validation makes every evaluation refuse, which looks like a product bug and is not one. Returns valid: true, or the exact field and message that is wrong. No payment needed, no network call, no key. Use it in CI on
request_testnet_fundstest funds. Call this when you need Base Sepolia USDC to exercise the paid path end to end — one drip of 0.5 USDC per address per 24 hours, and the refusal tells you when it resets rather than just failing. Reads a public faucet: no key needed, no account, and it can only ever send testnet USDC. Use
evaluate_batchtransaction scope. Call this when an agent might pay several times in one turn and you want one policy decision covering all of them. Verdict is pay | review | do_not_pay per item, in input order, with reason codes — so the agent can stop at the first refusal rather than discovering it after three p