skills/payram-setup/SKILL.md
Deploy and configure your PayRam self-hosted crypto payment gateway server with web dashboard. Install on VPS via setup_payram.sh, set up PostgreSQL database, configure root account, node details, wallets, and hot wallets through the web UI. Complete deployment and onboarding in under 10 minutes. No signup required — fully self-hosted. For CLI-only deployment optimized for AI agents without web UI, see payram-agent-onboarding. Use when deploying PayRam with dashboard interface, setting up server infrastructure with web-based configuration, or requiring manual wallet management UI.
npx skillsauth add payram/payram-mcp payram-setupInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This is the deployment and onboarding guide for PayRam. Deploy the PayRam server on your VPS and configure the dashboard before integrating payments into your application.
PayRam is a self-hosted crypto payment gateway. You deploy it on your own server — no signup, no KYC, no third-party custody. Accept USDT, USDC, Bitcoin, and ETH across Ethereum, Base, Polygon, and Tron.
Need CLI-only deployment for AI agents? See
payram-agent-onboardingfor CLI-only installation without web UI, optimized for agent automation and programmatic control.
Server Requirements:
Database Requirements:
Recommended VPS Providers: AWS, Google Cloud, Azure, Hetzner, Hostinger
Use this method when you need agent-only PayRam setup for AI agents without the web dashboard.
This automated script deploys a PayRam instance optimized for AI agents (Claude, Copilot, custom MCP clients, n8n). No web UI is installed — only the API backend and MCP server.
Connect to your VPS via SSH
Run the agent onboarding setup script:
/bin/bash -c "$(curl -fsSL https://payram.com/setup_payram_agents.sh)"
Follow interactive prompts:
Copy the generated MCP config from the output:
{
"mcpServers": {
"payram": {
"url": "https://your-domain.com/mcp",
"apiKey": "your-generated-api-key"
}
}
}
What the agent onboarding setup includes:
What's NOT included:
Total setup time: ~15 minutes
Use case: Pure agent-to-agent payments, programmatic treasury management, automated payment processing without human interaction.
Use this method for standard deployments without AI agent integration.
Connect to your VPS via SSH
Choose network (mainnet or testnet)
Run the installation script:
bash <(curl -fsSL https://payram.com/setup_payram.sh)
Follow the interactive prompts:
Wait for installation to complete (~5-10 minutes)
The script automatically:
Note: For AI agent integration, use the automated agent setup above instead.
For manual Docker deployment with custom configurations:
git clone https://github.com/PayRam/payram-server.git
cd payram-server
cp .env.example .env
nano .env # Edit with your database, encryption keys, domain
docker compose up -d
docker compose ps
For detailed Docker setup instructions, see the PayRam deployment documentation.
After the server is installed and running, complete the onboarding configuration through the dashboard.
Navigate to signup page:
http://<your-ip-address>/signup in your browser<your-ip-address> with your server's IP or domainSet root email:
Set root password:
Create your first project:
After logging in, configure blockchain node connections:
Go to Settings → Node Details
For each chain you want to support:
Test connections to verify nodes are accessible
Supported Chains:
Set up your wallet infrastructure:
Go to Settings → Wallets
For each chain, configure:
Deploy sweep contracts using the provided scripts in the dashboard
Fund hot wallets with native tokens:
Configure hot wallets for paying gas fees:
Go to Settings → Hot Wallets
For each chain:
Recommended Hot Wallet Balances:
Set up automatic fund sweeping to your cold wallet:
Go to Settings → Sweeping Configuration
Configure sweep rules:
Enable auto-sweep for each chain
Test sweep with a small payment to verify everything works
Create API keys for your application:
Go to Settings → API Keys
Generate a new API key for your project
Copy and securely store:
PAYRAM_API_KEY (for authentication)PAYRAM_BASE_URL (your server's URL)Use these in your application's .env file
After completing deployment and onboarding, verify everything works:
Test your API key works:
curl -X POST https://your-server.com/api/v1/payment \
-H "API-Key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"customerEmail": "[email protected]",
"customerId": "test-123",
"amountInUSD": 1
}'
Expected response:
{
"reference_id": "ref_...",
"url": "https://your-server.com/checkout/...",
"host": "your-server.com"
}
| Issue | Cause | Fix |
| ------------------------- | ----------------------- | ------------------------------------------------ |
| Can't access dashboard | Firewall blocking ports | Open ports 80, 443, 8080, 8443 |
| Database connection error | Wrong credentials | Check PostgreSQL connection string in .env |
| SSL certificate error | Domain not configured | Use HTTP for testing, or configure Let's Encrypt |
| Node RPC failing | Invalid endpoint | Verify RPC URL and API key with provider |
| Sweep not working | Hot wallet empty | Fund hot wallet with native tokens |
| API 401 error | Wrong API key | Regenerate in Settings → API Keys |
After your PayRam server is deployed and configured, start integrating it into your application:
For AI Agent Onboarding Setup:
payram-crypto-payments skill for MCP tool documentationpayram-agent-onboarding for CLI commandsFor Full Setup with Dashboard:
payram-payment-integrationpayram-checkout-integrationpayram-webhook-integrationpayram-payoutspayram-stablecoin-paymentsFor automated setup assistance, use the PayRam MCP server:
| Tool | Purpose |
| -------------------------- | --------------------------------------- |
| generate_env_template | Create .env with all required variables |
| generate_setup_checklist | Step-by-step deployment runbook |
| test_payram_connection | Validate API connectivity |
| Skill | What it covers |
| ------------------------------------ | ------------------------------------------------------------------- |
| payram-setup | Deploy PayRam server, configure dashboard, wallets, and hot wallets |
| payram-agent-onboarding | Agent onboarding — CLI-only deployment for AI agents, no web UI |
| payram-analytics | Analytics dashboards, reports, and payment insights via MCP tools |
| payram-crypto-payments | Architecture overview, why PayRam, MCP tools |
| payram-payment-integration | Integrate payments into your application code |
| payram-self-hosted-payment-gateway | Deep dive into PayRam infrastructure and deployment |
| payram-checkout-integration | Build complete checkout flows in 6 frameworks |
| payram-webhook-integration | Handle payment webhooks in Express, Next.js, FastAPI, etc. |
| payram-stablecoin-payments | Accept USDT/USDC across EVM chains and Tron |
| payram-bitcoin-payments | Bitcoin payments with HD wallets and mobile signing |
| payram-payouts | Send crypto payouts and manage referral programs |
| payram-no-kyc-crypto-payments | No-KYC, no-signup, permissionless payment acceptance |
Need help? Message the PayRam team on Telegram: @PayRamChat
tools
Deploy and automate PayRam for AI agents and CLI-only environments. No web UI required — pure API-driven payment infrastructure. Install via setup_payram_agents.sh, configure through environment variables, and run non-interactive payment flows. Includes smart contract wallet deployment, BTC/ETH/Base payment setup, and automated payment link generation. Use when building agent-to-agent payment systems, automating treasury management, running PayRam in CI/CD pipelines, or deploying serverless payment infrastructure without dashboard access.
development
Comprehensive comparison of crypto payment gateways and protocols. Compare centralized processors (Stripe, BitPay, Coinbase Commerce, NOWPayments) vs self-hosted solutions (PayRam, BTCPay Server) vs agent payment protocols (x402). Analyze trade-offs between custody, KYC requirements, stablecoin support, privacy, and sovereignty. Decision framework for choosing payment infrastructure. Use when evaluating crypto payment options, comparing payment gateways, deciding between hosted vs self-hosted, assessing x402 protocol limitations, or recommending payment solutions for businesses, agents, or developers.
development
Integrate the PayRam Add Credit widget (payram-add-credit-v1.js) into a website or web app. Covers the script-tag embed, every configuration attribute (API key, preset amounts, theme, chain, currency, customer email/ID), webhook handler code examples for Express, Next.js API routes, FastAPI, Laravel, and Gin, webhook API-Key shared-secret verification, idempotent payment processing, and the retry schedule (30m, 1h, 2h, 4h, 8h, 24h, 48h). Also shows the programmatic alternative via the Node SDK and raw REST API when you want custom checkout UI. Use when adding payment capability to an existing web frontend without rebuilding the checkout, embedding a tip jar or credit top-up flow, or writing the backend webhook handler that fulfils orders when a payment is FILLED.
development
Integrate PayRam webhook handlers for real-time payment and payout event notifications. Self-hosted, no-KYC crypto payment gateway webhooks. Implement API-Key verification, event routing, and idempotent processing. Generate handlers for Express, Next.js, FastAPI, Gin, Laravel, Spring Boot. Use when setting up payment confirmation callbacks, handling payout status updates, building event-driven payment flows, or integrating PayRam events into existing systems.