xpayr_health_check
API Gateway Health Check
Check XPayr Gateway API v1 operational health, version, and server timestamp.
Give Claude Desktop, Cursor, VS Code Copilot, Windsurf, Cline, and n8n agents native, policy-guarded access to 21 strongly-typed XPayr tools — create multi-chain USDT/USDC checkouts, verify HMAC webhooks, submit autonomous payment intents, and model 99.5% / 0.5% settlement splits.
/api/mcp) + Local npx Stdio.--suite flagship or all.POST /api/mcpSend a real JSON-RPC 2.0 request to XPayr's live Streamable HTTP MCP endpoint right from this page.
// Click "Run tools/list" or "Run Fee Split ($250 USDC)" to inspect live JSON-RPC 2.0 output from https://xpayr.com/api/mcp
xpayr_health_check
Check XPayr Gateway API v1 operational health, version, and server timestamp.
xpayr_create_payment_session
Create a non-custodial crypto payment session supporting Web3 1-Click Pay, Direct Exchange QR Transfer, Multi-Chain Links, 1-Year Reusable Links, and Automated HTML Invoice Email Delivery.
xpayr_get_payment_session
Retrieve full details, metadata, settlement split amounts, checkout mode, and on-chain transaction hash for a payment session.
xpayr_list_payment_sessions
List merchant crypto payment sessions with filtering by status, currency, network, and pagination.
xpayr_get_public_payment_status
Poll real-time public checkout status, on-chain tx_hash, sender wallet address, block confirmations, and paid_at timestamp without an API key.
xpayr_apply_payment_coupon
Validate and apply a merchant promotional discount coupon code to an active pending payment session.
xpayr_get_merchant_profile
Retrieve authenticated merchant profile, settlement wallet address, commission rate in basis points (50 bps = 0.5%), and active API keys.
xpayr_get_merchant_balance
Query confirmed non-custodial settlement volume, transaction counts, and platform fees grouped by currency and blockchain network.
xpayr_get_supported_networks
List all active EVM, TRON, Solana, and Arc Mainnet/Testnet blockchain networks, chain IDs, RPC endpoints, splitter contracts, and supported tokens.
xpayr_get_webhook_config
Inspect the merchant webhook callback URL, masked HMAC-SHA256 signing secret, and subscribed payment lifecycle events.
xpayr_set_webhook_endpoint
Configure or update the merchant HTTPS webhook receiver URL and generate a fresh 32-byte HMAC-SHA256 signing secret.
xpayr_send_test_webhook
Send a signed test.webhook payload with HMAC-SHA256 headers to verify merchant webhook signature verification.
xpayr_create_ai_agent
Provision a new merchant-managed AI commerce agent identity with scoped credentials and programmable spending guardrails.
xpayr_list_ai_agents
List all AI commerce agents managed by the merchant along with their status, assigned wallets, and spending policies.
xpayr_update_ai_agent_policy
Configure spending policy guardrails for an AI agent (max per-tx USD, daily cap, auto-approve threshold, allowed chains/tokens).
xpayr_submit_agent_payment_intent
Submit an autonomous AI agent payment intent evaluated in real time against merchant policy rules (approved, pending_approval, rejected).
xpayr_list_agent_payment_intents
List AI agent payment intents, policy evaluation decisions, and audit trail records for the merchant.
xpayr_bridge_agent_intent_to_checkout
Bridge an approved AI agent payment intent into a live executable XPayr payment session with hosted checkout URL and on-chain verification.
xpayr_approve_agent_intent
Approve a pending AI agent payment intent from the merchant approval queue and bridge it to checkout.
xpayr_reject_agent_intent
Reject a pending AI agent payment intent in the merchant approval queue with an audit reason.
xpayr_calculate_gateway_fee_and_split
Deterministically calculate XPayr flat 0.5% (50 bps) gateway fee split, net merchant wallet settlement, 1% (max $0.50) exchange withdrawal tolerance, and savings vs BitPay, Coinbase Commerce, and Stripe.
Both expose all 21 XPayr tools with identical schemas. Remote Streamable HTTP (https://xpayr.com/api/mcp) requires zero local Node.js runtime and works immediately in cloud agents, n8n, and modern IDEs; npx -y @xpayr/mcp-server@1.0.0 runs over stdio locally and supports module scoping (--suite flagship,checkout).
Yes. Public discovery, gateway health (xpayr_health_check), deterministic 0.5% fee split calculation (xpayr_calculate_gateway_fee_and_split), and public session status polling run without credentials. Authenticated checkout creation and agent-intent tools use your sk_test_ or sk_live_ key.
XPayr AI Commerce Agents enforce server-side per-transaction caps, daily rolling budgets, auto-approval thresholds, chain/token whitelists, and human-in-the-loop approval queues (/agent-commerce) before any on-chain funds move.
XPayr MCP is published on npm (@xpayr/mcp-server@1.0.0), GitHub Container Registry (ghcr.io/xpayrcom/xpayr-mcp-server), Official MCP Registry, Glama, Smithery, and documented at https://mcp.xpayr.com and /.well-known/mcp.json.