Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Xpayr Webhook Examples

FreeNot checked

Secure webhook verification examples for XPayr, including raw-body HMAC validation, idempotency, retries, and durable processing patterns.

GitHubEmbed

About

Secure webhook verification examples for XPayr, including raw-body HMAC validation, idempotency, retries, and durable processing patterns.

README


XPayr Webhook Examples

CI License: MIT

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

  1. Read the HTTP request body as untouched bytes. Do not parse or re-serialize it first.
  2. Verify X-XPayr-Signature with HMAC-SHA256 and your webhook secret.
  3. Require a stable event ID and enforce uniqueness in durable storage.
  4. Persist the event and the payment-state transition in one transaction.
  5. Return 2xx only 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.

from github.com/xpayrcom/xpayr-webhook-examples

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-examples

FAQ

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

$5

Stripe

Payments, customers, subscriptions

Stripeby Stripe

malamutemayhem/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

malamutemayhemby malamutemayhem

whiteknightonhorse/APIbase

API hub covering travel (Amadeus, Sabre), Polymarket prediction markets, crypto and weather, paid per call via x402 in USDC.

whiteknightonhorseby whiteknightonhorse

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

trackerfitness729-jpgby trackerfitness729-jpg

embeddedlayers/mcp-analytics

Statistical analysis, forecasting and ML on CSV files or live data from Shopify, Stripe, GA4 and more, with interactive HTML reports.

embeddedlayersby embeddedlayers

carrierone/verilexdata-mcp

Pay-per-query x402 datasets: NPI healthcare, SEC filings, OFAC sanctions, crypto whales, Polymarket signals, patents and economic indicators.

carrieroneby carrierone

paracetamol951/P-Link-MCP

HTTP 402 (Payment Required) implementation using Solana.

paracetamol951by paracetamol951

tipdotmd/tip-md-x402-mcp-server

Cryptocurrency tipping using the x402 payment protocol and CDP Wallet.

tipdotmdby tipdotmd

laundromatic/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

laundromaticby laundromatic

mrslbt/xendit-mcp

Xendit payment gateway for Southeast Asia: invoices, disbursements, balance checks and bank transfers.

mrslbtby mrslbt

Compare 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