Stripe MCP
server ทางการของ Stripe ให้ AI ดูและจัดการลูกค้า สินค้า การชำระเงิน และใบแจ้งหนี้ ต่อผ่านคลาวด์ของ Stripe และล็อกอินแบบ OAuth
ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ
8-tool non-custodial 6-chain USDT/USDC payment gateway: @mcp_tool_paywall, invoice CRUD & x402.หน้ารายการเรียงด้วยคะแนนการใช้งาน (เต็ม 100) จากส่วนเหล่านี้
| ความนิยม | 0/80 | ดาว GitHub หรือยอดดาวน์โหลดต่อสัปดาห์ ค่ามากนับ 60 ค่าน้อยนับ 20 |
|---|---|---|
| ความสด | 12/12 | ออกรุ่นหรือแก้โค้ดใน 30 วัน ได้เต็ม |
| ระบบยังตอบ | 8/8 | endpoint บนคลาวด์ตอบตอนตรวจล่าสุด |
| คะแนนการใช้งาน | 20/100 |
คุณภาพ: ผลตรวจเบื้องต้นผ่าน 5/5 ข้อ (แสดงให้ดู ไม่ได้ใช้เรียง) · ความมาแรง: ยังไม่มีข้อมูล (ใช้เรียงเฉพาะแท็บมาแรง)
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ให้ AI ติดตั้งให้ด้วยประโยคเดียว
ติดตั้ง PayGate USDT Payment Gateway MCP ให้หน่อย ทำตาม https://mcp.popnx.com/i/ezelich-paygate-usdt.md แสดงคำสั่งให้ฉันดูและรอฉันตกลงก่อนรันคัดลอกไปวางในแชตของ AI ที่ทำงานในเครื่องคุณได้ (เช่น Claude Code, Cursor) · AI จะอ่านขั้นตอนจากเรา แสดงคำสั่งให้ดู และรอคุณตกลงก่อน · ไม่ต้องใช้คีย์ ไม่ต้องสมัคร · ดูข้อความเต็มที่ AI จะอ่าน
ผลตรวจผ่าน 5/5 · สิ่งที่คุณถามผ่านเซิร์ฟเวอร์ของผู้ทำ (chainguard-studio-production.up.railway.app) · ✓ ตรวจคำสั่งแล้ว 25 พ.ย. 2569
ขั้นแรก: คุณใช้ AI ตัวไหน
เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง
ต่อกับ Claude ได้ · ประมาณ 2 นาที
ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ตั้งครั้งเดียวที่ claude.ai หรือแอปบนคอม แล้วใช้ในแชตได้ · บัญชีฟรีเพิ่มได้ 1 ตัว · แผน Team/Enterprise ให้เจ้าของ (Owner) เป็นคนเพิ่ม
เพิ่ม PayGate USDT Payment Gateway MCP ใน Claude ↗
ชื่อกับที่อยู่ถูกกรอกให้แล้ว ตรวจแล้วกด Add · ถ้ายังไม่ได้ล็อกอิน Claude จะให้ล็อกอินก่อน
กด Continue ผ่านหน้าตรวจการล็อกอินที่ Claude ตรวจเจอ · หัวข้อ Authentication เลือกตามที่ผู้ทำบอก (Sign in now, Sign in when needed หรือ No sign in) แล้วกด Add
CustomizeConnectors
กด “Add” → “Custom” → “Web” แล้วกรอก 2 ช่องนี้
คัดลอกจากที่นี่ไปวางในช่องชื่อเดียวกันบนหน้าจอของ Claude แล้วกด Continue
PayGate USDT Payment Gateway MCPhttps://chainguard-studio-production.up.railway.app/paygate/mcp+ConnectorsPayGate USDT Payment Gateway MCP
ใช้ PayGate USDT Payment Gateway MCP บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Claude บอกว่ากำลังใช้ PayGate USDT Payment Gateway MCP หรือมีชื่อเครื่องมือของ PayGate USDT Payment Gateway MCP ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ ChatGPT ได้ ขึ้นกับแผน
MCP แบบเต็ม: ChatGPT Business, Enterprise หรือ Edu บนเว็บ · Pro: ต่อได้ด้วยสิทธิ์อ่านและดึงข้อมูล เครื่องมือที่แก้ข้อมูลอาจใช้ไม่ได้ · Plus: เอกสารยังไม่ยืนยัน ถ้าเห็นเมนูเพิ่ม MCP แบบกำหนดเองในหน้าปลั๊กอิน ลองตามขั้นตอนได้ · ใช้บนเว็บเท่านั้น
Plugins+Add custom MCP server
ใส่ชื่อ แล้ววางที่อยู่ใต้ Connection ติ๊กยอมรับคำเตือน แล้วกด Create as a plugin
PayGate USDT Payment Gateway MCPhttps://chainguard-studio-production.up.railway.app/paygate/mcpเปิดแชตใหม่แล้วเลือก PayGate USDT Payment Gateway MCP จากรายการปลั๊กอินก่อนพิมพ์
ใช้ PayGate USDT Payment Gateway MCP บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า ChatGPT บอกว่ากำลังใช้ PayGate USDT Payment Gateway MCP หรือมีชื่อเครื่องมือของ PayGate USDT Payment Gateway MCP ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ OpenAI เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ Claude Code ได้ · ประมาณ 2 นาที
ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม
Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell
claude mcp add --transport http --scope user paygate-usdt https://chainguard-studio-production.up.railway.app/paygate/mcpต้องเห็น PayGate USDT Payment Gateway MCP ในรายการและขึ้นว่าเชื่อมต่อแล้ว
ใช้ PayGate USDT Payment Gateway MCP บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Claude Code บอกว่ากำลังใช้ PayGate USDT Payment Gateway MCP หรือมีชื่อเครื่องมือของ PayGate USDT Payment Gateway MCP ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ Cursor ได้ · ประมาณ 2 นาที
ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม
ใช้ PayGate USDT Payment Gateway MCP บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Cursor บอกว่ากำลังใช้ PayGate USDT Payment Gateway MCP หรือมีชื่อเครื่องมือของ PayGate USDT Payment Gateway MCP ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ VS Code ได้ · ประมาณ 2 นาที
ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม
ใช้ PayGate USDT Payment Gateway MCP บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า VS Code บอกว่ากำลังใช้ PayGate USDT Payment Gateway MCP หรือมีชื่อเครื่องมือของ PayGate USDT Payment Gateway MCP ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม
ที่อยู่สำหรับโปรแกรมที่ต่อผ่านเว็บ
https://chainguard-studio-production.up.railway.app/paygate/mcpค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง
Claude Code
claude mcp add --transport http --scope user paygate-usdt https://chainguard-studio-production.up.railway.app/paygate/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"paygate-usdt": {
"url": "https://chainguard-studio-production.up.railway.app/paygate/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"paygate-usdt": {
"type": "http",
"url": "https://chainguard-studio-production.up.railway.app/paygate/mcp"
}
}
}ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
io.github.EzeLich/paygate-usdtดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569
ต่อผ่านคลาวด์ได้ใน
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
ชื่อและคำอธิบายเครื่องมือตามที่ server ตอบมาเมื่อ 25 พ.ย. 2569 ผู้ทำเป็นคนเขียน ไม่ใช่เรา แสดงเป็นข้อความล้วน
check_eip7702_delegationDetect active EIP-7702 EOA delegation hijacks (0xef0100...) on Ethereum, Base, Arbitrum, or Polygon.
check_solana_token2022Inspect Solana SPL / Token-2022 mint for PermanentDelegate drainers, TransferHooks, Mint/Freeze authority & RugCheck score.
check_tx_firewallPre-flight EVM transaction drainer & unlimited approval firewall (Base/Arbitrum/Polygon).
check_mcp_poisoningDetect hidden zero-width Unicode smuggling & prompt injection inside MCP tools or web text.
audit_solidity_or_mcpInstant triage audit of Solidity contracts or MCP/AI agent configs for vulnerabilities & token burn.
reclaim_solana_rentScan a Solana wallet for hidden trapped SOL in empty 0-balance SPL/Token-2022 accounts and build an unsigned CloseAccount tx (+88% net SOL back to owner, 12% atomic recovery fee).
check_frontend_hijackInspect a DeFi frontend URL & optional EIP-1967 proxy contract for missing CSP/SRI, malicious 3rd-party JS, or unauthorized proxy upgrades.
scan_evm_dust_and_hygieneZero-connect multi-chain EVM wallet scan (Base/Arbitrum/Optimism/Polygon/Ethereum) finding sweepable ERC-20 dust in USD, EIP-7702 hijacks, and open unlimited approvals.
build_evm_dust_to_usdt_sweepBuild non-custodial exact-amount ERC-20 approve + audited KyberSwap/OpenOcean swap calldata to consolidate any EVM dust token across 8 chains into USDT or USDC (1.00% on-chain integrator fee).
build_cross_chain_consolidationBuild 1-click cross-chain consolidation calldata (LI.FI Diamond) bridging & swapping any ERC-20 token from Base, Arbitrum, Optimism, Polygon, Ethereum, BSC, Linea, or Avalanche directly into Base USDC or Arbitrum USDT (1.00% atomic fee).
find_best_defi_yieldsScan 15,000+ live DeFiLlama pools across Base, Arbitrum, Solana, Ethereum, Optimism, Polygon & BSC ranked by risk-adjusted sustainable APY (free top-3 preview + $0.02 USDC x402 API for top-25).
analyze_token_alphaPre-trade EVM & Solana token alpha combining live DexScreener price, liquidity, FDV, 24h volume & buy pressure with GoPlus honeypot / Solana Token-2022 PermanentDelegate + RugCheck verdict.
create_usdt_invoiceCreate a non-custodial multi-chain USDT/USDC payment link & invoice (Polygon, BSC, Arbitrum, Base, Ethereum, Solana) settling 100% directly to the merchant wallet with zero platform custody.
verify_usdt_invoiceVerify an on-chain USDT/USDC transaction hash against a PayGate invoice ID via live JSON-RPC.
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 26 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub EzeLich ซึ่งเป็นเจ้าของ repo
มีการแก้โค้ดล่าสุด เมื่อวาน
ใช้ MIT
ตอบกลับใน 127 ms (HTTP 200)
ไม่ต้องล็อกอิน
อ่านคำอธิบายเครื่องมือ 14 ตัวแล้ว ไม่พบคำสั่งแอบแฝงถึง AI
ถ้าคุณเป็นผู้ทำตัวนี้ คัดลอกโค้ดนี้ไปวางใน README ได้เลย ป้ายลิงก์กลับมาที่หน้านี้
[](https://mcp.popnx.com/th/servers/ezelich-paygate-usdt)ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์
ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย
ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx
ยังไม่มีรีวิว
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 5 จาก 5 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนคลาวด์ของผู้ทำ ต่อผ่านอินเทอร์เน็ตได้เลย ไม่ต้องลงโปรแกรม แต่ข้อมูลที่ส่งให้จะผ่านเซิร์ฟเวอร์ของผู้ทำ
repo บน GitHub มีการแก้โค้ดล่าสุด เมื่อวาน และส่งรุ่นล่าสุด (2.5.1) เข้า registry เมื่อวาน
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT บนเว็บ (แบบเต็มในแผน Business ขึ้นไป · Pro แบบอ่านอย่างเดียว)
ในหมวดเดียวกันมี Stripe MCP, FlightClaw, Trade It, idealo MCP Server, Marketplace Ad Pros: Amazon Ads & Seller Central
หมวดเดียวกันจากผู้ทำคนอื่น ผ่านตัวตรวจคำสั่งแล้ว ตัวทางการขึ้นก่อน แล้วเรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
server ทางการของ Stripe ให้ AI ดูและจัดการลูกค้า สินค้า การชำระเงิน และใบแจ้งหนี้ ต่อผ่านคลาวด์ของ Stripe และล็อกอินแบบ OAuth
Search, price-track and book flights from about 300 airlines, paid on a hosted checkout link.
Connect brokerage accounts to AI assistants: holdings, orders, asset lookup, and approved trading.
Search products, compare prices and discover deals across 6 European markets with your AI assistant.
Amazon Ads, Seller Central, Vendor Central and AMC data for AI agents. Read-only by default.
| ตัวนี้ PayGate USDT Payment Gateway MCP | Stripe MCP | FlightClaw | Trade It | idealo MCP Server | Marketplace Ad Pros: Amazon Ads & Seller Central | |
|---|---|---|---|---|---|---|
| ทำงานที่ไหน | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง |
| ต้องใส่คีย์ | ไม่ | ไม่ | ไม่ | ไม่ | ไม่ | ไม่ |
| กด + ใน Claude ได้ | ไม่ | ใช่ | ไม่ | ไม่ | ไม่ | ไม่ |
| ผลตรวจเบื้องต้น | 5/5 | 4/4 | 4/4 | 5/5 | 4/4 | 4/4 |
| สัญญาอนุญาต | MIT | MIT | MIT | CC0-1.0 | MIT | MIT |
| ราคา | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน |
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Monetize any Python or TypeScript/Node.js MCP Server (`@mcp_tool_paywall` / `withMcpToolPaywall`), FastAPI / Express Route (`@require_usdt_payment` / `paygateExpressMiddleware`), SaaS Subscription, or Telegram VIP Group in USDT & USDC across 6 blockchains straight to your own self-custody wallet.
No custodial processor holds your funds. No Stripe / Whop / bank account requirements. No platform percentage cut. Includes 1-Click Multi-Chain & Multi-Asset Switcher (USDT, USDC, plus native ETH, BNB, POL, SOL, and Bitcoin Taproot bc1p...), Zero-Tx-Hash On-Chain Payment Auto-Detection, and a Self-Serve Merchant Revenue Dashboard (`/paygate/merchant`).
?start=vip)POST https://chainguard-studio-production.up.railway.app/paygate/mcp (create_usdt_invoice, get_usdt_invoice, list_usdt_invoices, verify_usdt_invoice, expire_usdt_invoice, check_usdt_subscription, verify_onchain_transfer, build_x402_paywall_challenge)| Feature | PayGate USDT v2.7 | Custodial Gateways / Whop / InviteMember |
|---|---|---|
| Settlement Destination | 100% direct buyer -> your wallet (Phantom, MetaMask, Ledger, Safe, Exchange) | Held by intermediary; payout delays / freezes |
| Transaction Fees | $0% cut on settlements (self-hosted MIT; hosted cloud includes 3 free sales -> $9/mo Pro) | 1%–10% + withdrawal minimums |
| SDK Runtimes | Python + Zero-Dependency TypeScript/Node.js (`sdk-js/`) | Often single-language or heavy SDKs |
| Networks & Assets Supported | USDT/USDC + Native ETH, BNB, POL, SOL & Bitcoin Taproot (`bc1p...`) | Limited or custodian-locked |
| Hosted Invoice Pages + Webhooks | Included (/paygate/checkout/{id} + X-PayGate-Signature HMAC-SHA256) | Often requires merchant KYB/KYC |
| Non-Custodial SaaS Subscriptions | Included (customer_ref + billing_days + /api/v1/paygate/subscriptions/check) | Requires cards or infinite token approvals |
| HTTP 402 (`x402 v2`) Paywalls | Included (FastAPI @require_usdt_payment + Express paygateExpressMiddleware) | Rare / separate SDK |
| Telegram Paid VIP Automation | Included (60-second bot onboarding, 1-time invite links, auto-kick on expiry) | High % revenue share |
| MCP Server for AI Agents | Included (Streamable HTTP 2025-03-26, ping, resources, prompts + Stdio MCP) | Not supported |
| Security & Reproducibility | 100% auditable Python & ESM Node.js, full pytest + node --test + CI | Black-box binaries / closed SaaS |
Merchant / SaaS / AI Agent
│ ├── 1. Invoice API or MCP (create_usdt_invoice) │ └─> Hosted Checkout URL (/paygate/checkout/{inv_id}) │ ├── 2. FastAPI @require_usdt_payment Route Guard │ └─> Returns HTTP 402 + PAYMENT-REQUIRED (x402 v2 JSON) │ └── 3. Multi-Tenant Telegram VIP Bot (/vip / /start) │ ▼ Buyer transfers USDT / USDC directly to Merchant Wallet (Polygon · BSC BEP20 · Base · Arbitrum · Ethereum · Solana) │ ▼ PayGate On-Chain RPC Verifier (live JSON-RPC + SQLite anti-replay) │ ├── Signed invoice.paid Webhook (X-PayGate-Signature: sha256=...) ├── Single-use Telegram Invite Link (member_limit=1) + Expiry Kick └── HTTP 200 API Response Unlocked
@mcp_tool_paywall)Wrap any FastMCP / mcp SDK tool or Python function with @mcp_tool_paywall. Callers get free_calls free invocations (with live paygate_billing telemetry), and automatically unlock unlimited access when they pay your non-custodial USDT/USDC invoice or recurring subscription:
from paygate_sdk import mcp_tool_paywall
@mcp_tool_paywall( price_usd=9.0, merchant_wallet="0xYourEvmOrSolanaWalletAddress", network="base", # base | polygon | arbitrum | bsc | ethereum | solana free_calls=3, # free trial invocations per customer_ref billing_days=30, # recurring 30-day subscription entitlement title="Pro AI Agent MCP Pass", ) def analyze_market_alpha(symbol: str, customer_ref: str = "", paygate_invoice_id: str = "") -> dict: return {"symbol": symbol, "verdict": "STRONG_BUY"}
sdk-js/, Zero npm Dependencies)Monetize any TypeScript @modelcontextprotocol/sdk MCP tool or Express / Next.js API route in 1 wrapper with native Node.js 18+ fetch and node:crypto:
import {
withMcpToolPaywall, paygateExpressMiddleware, verifyWebhookSignature, } from "./sdk-js/index.mjs";
// 1. Wrap any TypeScript MCP tool with 3 free calls + $9/30d non-custodial unlock export const proSignalTool = withMcpToolPaywall( { priceUsd: 9.0, merchantWallet: "0xYourEvmOrSolanaWalletAddress", network: "base", freeCalls: 3, billingDays: 30, title: "Pro MCP Tool Pass", }, async ({ symbol }) => ({ symbol, verdict: "STRONG_BUY" }) );
// 2. Protect any Express / Connect HTTP route with x402 v2 + X-PayGate-Invoice app.get( "/api/pro-signal", paygateExpressMiddleware({ priceUsd: 5.0, merchantWallet: "0xYourEvmWalletAddress", network: "base", description: "Institutional Trading Signal", }), (req, res) => res.json({ ok: true, signal: "ETH/USDC", paygate: req.paygate }) );
x402 v2 Direct USDT/USDC)from fastapi import FastAPI, Request
from paygate_sdk import require_usdt_payment
app = FastAPI()
@app.get("/api/pro-signal") @require_usdt_payment( price_usd=5.0, recipient_wallet="0xYourEvmWalletAddress", networks=("base", "polygon", "arbitrum", "bsc"), ) async def pro_signal(request: Request): return {"signal": "ETH/USDC breakout verified"}
Unpaid callers receive 402 Payment Required with an x402 v2 PAYMENT-REQUIRED header. Callers pass X-Payment-Network + X-Payment-Tx and PayGate verifies the stablecoin Transfer event on-chain with built-in anti-replay protection.
from paygate_sdk import PayGateClient, verify_webhook_signature
client = PayGateClient("https://chainguard-studio-production.up.railway.app")
res = client.create_invoice( title="SaaS Pro Seat (30 Days)", amount_usd=29.0, network="polygon", # polygon | bsc | base | arbitrum | ethereum | solana merchant_wallet="0xYourEvmWalletAddress", webhook_url="https://yourapp.com/webhooks/paygate", webhook_secret="whsec_your_signing_secret", ) print("Send buyer to:", res["checkout_url"])
is_authentic = verify_webhook_signature(raw_body_bytes, request.headers["X-PayGate-Signature"], "whsec_your_signing_secret")
OnChainPaymentVerifier)from app.onchain_verifier import OnChainPaymentVerifier
verifier = OnChainPaymentVerifier() result = verifier.verify( network="bsc", tx_hash="0x...", min_amount_usd=199.0, expected_recipient="0xYourBep20WalletAddress", ) print(result.verified, result.amount_usd, result.token)
Run an instant hosted checkout link directly from your terminal:
pip install -e .
paygate-usdt invoice --title "VIP Access" --amount 49 --network polygon --wallet 0xYourWallet paygate-usdt verify-tx --network bsc --tx 0x... --amount 199 --wallet 0xYourWallet
Or connect PayGate USDT as a local Stdio MCP server (mcpServers config):
{
"mcpServers": { "paygate-usdt": { "command": "python", "args": ["-m", "paygate_sdk", "mcp"] } } }
Add a non-custodial USDT/USDC pay button to any static site, GitHub README, or Markdown page in 1 URL or 1 tag:
<a data-paygate-merchant="0xYourWallet" data-paygate-amount="29" data-paygate-network="polygon" data-paygate-title="Pro Access">
Pay $29 USDT
Or generate a stateless 1-click checkout URL directly in Python:
from paygate_sdk import PayGateClient
url = PayGateClient().build_payment_url( merchant_wallet="0xYourWallet", amount_usd=29.0, network="polygon", title="Pro Plan (30d)", )
Accept recurring 30-day SaaS/API memberships directly in USDT/USDC without requesting MAX_UINT256 token allowances. Renewals paid early automatically stack remaining days:
from paygate_sdk import PayGateClient
client = PayGateClient("https://chainguard-studio-production.up.railway.app")
sub = client.check_subscription( merchant_wallet="0xYourEvmWalletAddress", customer_ref="user_42", amount_usd=19.0, network="base", billing_days=30, ) if not sub["active"]: print("Renew here:", sub["renewal_url"])
examples/fastapi_x402_demo.py — FastAPI paywall route protected by @require_usdt_paymentexamples/webhook_receiver_demo.py — FastAPI receiver verifying X-PayGate-Signature (HMAC-SHA256)docker compose up --build
git clone https://github.com/EzequielLec