Charge users in stablecoins, enforce backend-authoritative pricing, and unlock on-chain entitlements with a single, reusable payment protocol. Set it all up by asking your AI assistant.
Create an app called “Lumen Notes” on Base and Arbitrum. Pay out to 0x9A3f…8F01.
create_app{ name: "Lumen Notes", payee: "0x9A3f…8F01", supported_networks: [8453, 42161] }App created · ID 0x7f3a…2f4a
USDC accepted on Base and Arbitrum
Add a Pro plan: $9.99 for 30 days.
create_product{ appId, name: "Pro Workspace", mode: "SESSION", price: "9990000", duration: 2592000 }SESSION product · 9.99 USD · 30 days
Product ID 0x2b8e…1b3d
Give me the Next.js code for it.
generateIntegrationSnippet{ framework: "nextjs-app-router", appId, productId }Returned a ready-to-paste checkout component
with your app and product IDs filled in
Pick a payment mode and run it. The code next to it is what you add to your app for that mode.
Pro Workspace (30 days)
Time-limited access
import { useTokenPayment, usePayment, DropdownBuyButton } from "@payxor/react";
import { useSessionStatus } from "@payxor/react";
// wallet = { address, chainId, publicClient, walletClient } from wagmi
export function BuySession({ wallet }) {
const tokens = useTokenPayment({
appId: APP_ID,
productId: PRODUCT_ID,
...wallet,
});
const payment = usePayment({
appId: APP_ID,
productId: PRODUCT_ID,
...wallet,
tokenAddress: tokens.selectedToken,
});
const { isActive } = useSessionStatus({ appId: APP_ID, productId: PRODUCT_ID, ...wallet });
if (isActive) return <p>Pro is active</p>;
return (
<DropdownBuyButton
stablecoins={tokens.stablecoins}
selectedToken={tokens.selectedToken}
onSelect={tokens.setSelectedToken}
needsApproval={tokens.needsApproval}
onApprove={tokens.approve}
approving={tokens.approving}
onBuy={payment.executePayment}
loading={payment.loading}
/>
);
}Run the checkout to see the access check flip to true.
Two MCP servers let Claude, Cursor and other assistants create apps and products, read analytics, write integration code and check entitlements, in plain language.
@payxor/mcp-adminManage apps, products and analytics. Authenticates with an API key.
PAYXOR_API_KEY=pxk_… npx @payxor/mcp-admin@payxor/mcp-clientQuotes, payments and entitlement checks for agents and bots.
npx @payxor/mcp-client{
"mcpServers": {
"payxor-admin": {
"command": "npx",
"args": ["@payxor/mcp-admin"],
"env": {
"PAYXOR_API_KEY": "pxk_your_api_key_here"
}
}
}
}Paste into .cursor/mcp.json or Claude Desktop’s claude_desktop_config.json, then restart the app.
Choose the right payment model for your application needs
| Mode | Use it for | What the contract keeps |
|---|---|---|
| SESSION | Time-limited access to your application. Perfect for subscription services or temporary premium features. | A validUntil timestamp per payer |
| FEATURE | One-time payment to unlock a specific feature permanently. Great for premium upgrades and add-ons. | An unlocked flag, forever |
| RECEIPT | Verifiable proof of purchase for digital goods. Each payment generates a unique receipt on-chain. Supports custom amounts for flexible pricing. | A receipt per transaction |
| PASS | Membership passes for exclusive access. Issue passes that grant ongoing privileges to your application. | A hasPass flag |
Three simple steps to start accepting on-chain payments
Sign up and create your application. Get a unique app ID and API keys to start integrating PayXor into your platform.
Set up your products with pricing, payment modes, and entitlements. Configure sessions, features, receipts, or passes.
Generate quotes from your backend, users pay on-chain, and unlock entitlements automatically. It's that simple.
A complete payment infrastructure designed for Web3 applications, built on smart contracts and EIP-712 signatures.
Users can't tamper with prices. All quotes are signed by your backend using EIP-712, ensuring complete control over your pricing strategy.
Sessions, features, receipts, and passes. Choose the right monetization model for your app with flexible payment structures.
Works on 8 major blockchain networks including Ethereum, Arbitrum, Base, Polygon, Avalanche, Optimism, BNB Chain, and zkSync. Accept payments from users on any chain.
Built for USD payments with 6-decimal precision. Accept stablecoin payments seamlessly across all supported chains.
Unlock features, access, and content based on verified on-chain payments. Build trustless access control for your application.
Simple REST API and TypeScript SDK. Get up and running in minutes with comprehensive documentation and examples.
A 1% platform fee is automatically deducted from each payment. The remaining amount goes directly to your configured payee address.
Built for a wide range of Web3 applications and use cases
Subscription-based services with time-limited access
Unlock premium features and content with one-time payments
Sell digital goods with verifiable purchase receipts
Issue passes for exclusive access and premium memberships
Create your account and start accepting payments in minutes.