Lumière PayCheck Free API key

Payments on Base + Solana + Keeta + Tempo, cards via Stripe

x402 Facilitators vs. Checks Before Paying: What Each One Does

· updated · 5 min read

An x402 facilitator settles the payment. It doesn't check whether the seller delivers. A check before paying does that second job, and you need both.

What a facilitator does

When an agent pays an x402 API, the seller passes the agent's signed payment to a facilitator. The facilitator checks the signature and the amount, then submits the payment on-chain (on Base, it also pays the gas). Coinbase's CDP facilitator, PayAI and Brave all run x402 facilitators, and Keeta has its own for Keeta payments.

A facilitator confirms the money is real and moves it. It doesn't know whether the API returns what its listing promises, whether the payout wallet in the quote was swapped, or whether the price just jumped.

> Free tool: x402 endpoint checker: paste any x402 URL to see its grade, uptime, price and payout-wallet history, and real paid-test results, before your agent pays it.

What a check before paying adds

In the x402 protocol, an API returns a 402 Payment Required response with a quote. The quote includes the price, network, token, and payout wallet address. Your agent must then sign a payment for that amount and send it in a header with the retried request. This proves money moved on-chain. However, on-chain proof does not prove the API delivered the right data.

Lumière PayCheck fills this gap. It isn't a facilitator and never holds or moves anyone's money: your agent pays the seller directly. It monitors over 149,000 endpoints, from the x402 Bazaar and beyond, and every 30 minutes it checks that each 402 quote is valid and that the price and payout wallet are stable. It also makes small real test payments to confirm the endpoint delivers what it advertises. This process results in a "Paid and delivered" status. A simple 402 quote or payment receipt only shows a payment happened, not that the data was delivered.

How to Check an Endpoint Before Paying

You can verify any x402 endpoint before your agent spends funds. This prevents losses from hijacked wallets or broken services. The process is free and fast. You can use the web interface or the API.

Using the Web Checker

Visit https://lumierepaycheck.org/check. Paste the URL of the x402 endpoint you want to test. The tool returns a grade, uptime history, price trends, and payout wallet history. It also shows results from paid tests. This is useful for quick manual checks or debugging.

Using the REST API

For automated workflows, use the check-payment endpoint. Your agent sends the quote details to PayCheck. PayCheck answers with allow true or false and reasons if denied.

curl -X POST https://lumierepaycheck.org/v1/check-payment \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/api", "amount": "10000", "payTo": "wallet_address"}'

The response includes a verdict. Use GET /v1/score?url=<endpoint> for a quick grade and verdict.

Integrating with AI Agents via MCP

For developers building autonomous agents, the Model Context Protocol (MCP) offers the easiest integration. You can connect your agent to the Lumière PayCheck MCP server at https://lumierepaycheck.org/mcp. This server uses streamable HTTP. Alternatively, you can use the npm package lumiere-paycheck-mcp for stdio connections.

The MCP tools allow your agent to check endpoints and report outcomes. The key tools are:

  • check_endpoint: Verifies an endpoint before payment.
  • check_payment: Checks a specific quote for validity.
  • report_outcome: Reports whether the agent received the data after paying.

Your agent calls check_payment with the quote it received from the API. If PayCheck returns allow true, the agent proceeds to sign and send the payment. After the API responds with data, the agent uses report_outcome to confirm delivery. This feedback loop helps maintain accurate trust scores for all endpoints.

For Sellers: Proving Your Endpoint is Safe

If you sell APIs using x402, verification builds trust with buyers. Every graded endpoint has a public page and a free badge that updates itself. If your endpoint costs more than PayCheck's tester pays on its own, you can fund a paid test of it: the payment goes to your own payout wallet, and the grade comes only from what the test finds.

You can also view your endpoints grouped by seller at https://lumierepaycheck.org/sellers. Each endpoint has its own public page with grades and history. If your endpoint is not in the Bazaar, you can add it by POSTing to https://lumierepaycheck.org/v1/endpoints/submit. Checking an unmonitored endpoint via the API also adds it automatically.

Security and Monitoring Features

Lumière PayCheck screens wallets against the OFAC sanctions list. It flags payout wallet changes that could indicate a hijack. It also detects price increases and lookalike sellers. These features protect your agent from fraud and unexpected costs.

PayCheck reads real USDC settlements on Base, Solana and Keeta into each endpoint's payout wallet. It tracks 30-day volume and the number of independent buyers. This data helps you assess the popularity and reliability of a service. Every paid test PayCheck makes comes with a signed receipt using an Ed25519 key. These receipts are public at GET /v1/test-receipts. They provide proof that PayCheck verified the endpoint and confirmed delivery.

FAQ

Is Lumière PayCheck a facilitator? No. A facilitator settles payments. PayCheck never holds or moves anyone's money; it checks endpoints before you pay them.

What do the verdicts mean? The verdicts are proceed, caution, avoid, and insufficient_data. Proceed means the endpoint passed: reliable, with a stable price and payout wallet. Caution means something isn't confirmed yet, usually no passed paid test so far. Avoid means do not pay. Insufficient_data means there is not enough information to grade.

How does PayCheck confirm delivery? PayCheck makes small real test payments to the endpoint. It then checks if the API returns the expected data. This creates a "Paid and delivered" status that distinguishes it from endpoints that only accept payment but fail to deliver.

To check an endpoint's safety grade before your agent pays, visit https://lumierepaycheck.org/.

Check an endpoint before your agent pays it. Free grades and allow-or-deny checks: lumierepaycheck.org · Every x402 endpoint, graded · Docs

More from the blog