Xpayr Webhook Examples
FreeNot checkedSecure webhook verification examples for XPayr, including raw-body HMAC validation, idempotency, retries, and durable processing patterns.
About
Secure webhook verification examples for XPayr, including raw-body HMAC validation, idempotency, retries, and durable processing patterns.
README
Official Website • AI & MCP Portal (21 Tools) • Developer Docs • Developer Hub • 0.5% Fee Calculator
XPayr Webhook Examples
Secure webhook verification examples for XPayr, including raw-body HMAC validation, idempotency, retries, and durable processing patterns.
Status: Public reference implementation
Purpose
Help backend teams process XPayr events safely across common server runtimes.
Included
- Node.js, PHP, and Python verification examples
- Shared deterministic signature fixtures
- Idempotent event-processing guidance
Quick start
npm install
npm test
Processing contract
- Read the HTTP request body as untouched bytes. Do not parse or re-serialize it first.
- Verify
X-XPayr-Signaturewith HMAC-SHA256 and your webhook secret. - Require a stable event ID and enforce uniqueness in durable storage.
- Persist the event and the payment-state transition in one transaction.
- Return
2xxonly after durable processing; retries must produce the same result.
Runnable handlers are available under node/, php/, and python/. The shared fixture ensures all runtimes implement the same signature contract.
Use an XPayr test key before live credentials. Never expose sk_test_*, sk_live_*, agent keys, webhook secrets, or wallet private keys in browser code or commits.
Documentation
Security
Read SECURITY.md before reporting a vulnerability. Payment completion must be based on verified XPayr webhook/API state and canonical on-chain evidence, not browser callbacks alone.
License
MIT. See LICENSE.
Installing Xpayr Webhook Examples
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/xpayrcom/xpayr-webhook-examplesFAQ
Is Xpayr Webhook Examples MCP free?
Yes, Xpayr Webhook Examples MCP is free — one-click install via Unyly at no cost.
Does Xpayr Webhook Examples need an API key?
No, Xpayr Webhook Examples runs without API keys or environment variables.
Is Xpayr Webhook Examples hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Xpayr Webhook Examples in Claude Desktop, Claude Code or Cursor?
Open Xpayr Webhook Examples on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Stripe
Payments, customers, subscriptions
by Stripemalamutemayhem/unclick-agent-native-endpoints
110+ tools for AI agents spanning social media, finance, gaming, music, AU-specific services, and utilities. Zero-config local tools plus platform connectors. n
by malamutemayhemwhiteknightonhorse/APIbase
API hub covering travel (Amadeus, Sabre), Polymarket prediction markets, crypto and weather, paid per call via x402 in USDC.
by whiteknightonhorsetrackerfitness729-jpg/sitelauncher-mcp-server
Deploy live HTTPS websites on subdomains or custom .xyz domains, paid in USDC on Base, with templates for crypto tokens and AI agent profiles.
embeddedlayers/mcp-analytics
Statistical analysis, forecasting and ML on CSV files or live data from Shopify, Stripe, GA4 and more, with interactive HTML reports.
by embeddedlayerscarrierone/verilexdata-mcp
Pay-per-query x402 datasets: NPI healthcare, SEC filings, OFAC sanctions, crypto whales, Polymarket signals, patents and economic indicators.
by carrieroneparacetamol951/P-Link-MCP
HTTP 402 (Payment Required) implementation using Solana.
by paracetamol951tipdotmd/tip-md-x402-mcp-server
Cryptocurrency tipping using the x402 payment protocol and CDP Wallet.
by tipdotmdlaundromatic/shopgraph
Structured product data from the open web — Schema.org + AI extraction for e-commerce enrichment. Pay per call via Stripe. [shopgraph.dev](https://shopgraph.dev
by laundromaticmrslbt/xendit-mcp
Xendit payment gateway for Southeast Asia: invoices, disbursements, balance checks and bank transfers.
by mrslbtCompare Xpayr Webhook Examples with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All finance MCPs
