skills/payram-bitcoin-payments/SKILL.md
Accept Bitcoin payments with PayRam's self-hosted infrastructure. Unique mobile app signing flow for BTC transactions without server-side key exposure. HD wallet derivation for unlimited unique deposit addresses. Manual sweep approval via PayRam Merchant mobile app. Use when accepting Bitcoin payments, implementing BTC payment flows, needing self-custody Bitcoin infrastructure, or building Bitcoin payment acceptance without Lightning complexity.
npx skillsauth add payram/payram-mcp payram-bitcoin-paymentsInstall 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.
First time with PayRam? See
payram-setupto configure your server, API keys, and wallets.
PayRam supports on-chain Bitcoin with a unique architecture: HD wallet derivation for deposits, mobile app signing for sweeps—no private keys ever touch the server.
| Aspect | EVM Chains | Bitcoin | | ----------------- | ------------------------ | -------------------------- | | Deposit addresses | Smart contract generated | HD wallet derived | | Sweep mechanism | Automated smart contract | Manual mobile app approval | | Key storage | Keyless (contract-based) | Seed phrase on mobile only | | Confirmation time | ~15 sec - 2 min | ~10-60 min |
The PayRam Merchant mobile app handles Bitcoin signing:
Security: Seed phrase is encrypted and stored only on your mobile device. Never transmitted to server.
When deposits accumulate:
1. Customer requests payment
2. PayRam derives unique BTC address from your seed (HD wallet)
3. Customer sends BTC to deposit address
4. PayRam detects transaction, waits for confirmations
5. Webhook fires: payment.pending → payment.successful
6. Deposits batch for sweep
7. You approve sweep in mobile app
8. Funds move to your cold wallet
Bitcoin payments use the same API as stablecoin/crypto payments:
const response = await axios.post(
`${PAYRAM_BASE_URL}/api/v1/payment`,
{
customerEmail: '[email protected]',
customerId: 'user_123',
amountInUSD: 50, // PayRam shows BTC equivalent
},
{ headers: { 'API-Key': PAYRAM_API_KEY } },
);
// User redirected to payment page
// Can select Bitcoin as payment method
{
"type": "payment.successful",
"data": {
"reference_id": "abc123",
"chain": "bitcoin",
"token": "BTC",
"amountInUSD": 50,
"tokenAmount": "0.00052",
"txHash": "abc123...",
"confirmations": 3
}
}
PayRam uses BIP44 derivation to generate unique addresses:
m/44'/0'/0'/0/nBenefits:
Bitcoin requires more confirmations due to longer block times:
| Amount | Recommended Confirmations | | ------------ | ------------------------- | | < $100 | 1 confirmation (~10 min) | | $100 - $1000 | 3 confirmations (~30 min) | | > $1000 | 6 confirmations (~60 min) |
Configure thresholds in PayRam dashboard.
What's on the server:
What's on mobile:
Sweep approval:
| Feature | PayRam | BTCPay Server | BitPay | | ------------------ | ------ | ------------- | ------ | | Self-hosted | ✅ | ✅ | ❌ | | Mobile signing | ✅ | ❌ | ❌ | | Stablecoin support | ✅ | Limited | ✅ | | Deposit keys off server | ✅ | ❌ | ❌ |
Standard payment tools work for Bitcoin:
| Tool | Purpose |
| ------------------------------ | ------------------------- |
| generate_payment_sdk_snippet | Payment creation |
| generate_webhook_handler | BTC payment events |
| scaffold_payram_app | Full app with BTC support |
Deposits not detected: Check Bitcoin node sync status in PayRam dashboard.
Sweep pending too long: Open mobile app, check Signing Requests → Pending.
Address derivation issues: Verify seed phrase matches expected xpub.
| Skill | What it covers |
| ------------------------------------ | ------------------------------------------------------------------------- |
| payram-setup | Server config, API keys, wallet setup, connectivity test |
| 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 | Quick-start payment integration guide |
| payram-self-hosted-payment-gateway | Deploy and own your payment infrastructure |
| payram-checkout-integration | Checkout flow with SDK + HTTP for 6 frameworks |
| payram-webhook-integration | Webhook handlers for Express, Next.js, FastAPI, Gin, Laravel, Spring Boot |
| payram-stablecoin-payments | USDT/USDC acceptance across EVM chains and Tron |
| payram-bitcoin-payments | BTC with HD wallet derivation 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
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.
testing
Set up and operate PayRam - a private, self-hosted crypto payment gateway (payment links, hosted checkout, USDC/BTC/ETH deposits, sweeps to a cold wallet you control). No signup, no KYB. Use this skill when a user wants to accept crypto payments, set up a payment gateway, create payment links, or integrate PayRam into an application.
devops
Deploy PayRam self-hosted crypto payment gateway on your own server. Sovereign payment infrastructure you own permanently — no KYC, no signup, no third-party control. Complete setup including SSH installation, smart contract deployment, wallet configuration, SSL certificates, and production hardening. Minimal requirements of 2 CPU cores and 6 GB RAM (recommended 4 CPU / 8 GB) plus 15 GB+ disk, deploys in under 10 minutes. Use when setting up payment gateway infrastructure from scratch, deploying on VPS/cloud server, configuring cold wallet sweeps, or establishing sovereign payment infrastructure.
development
Send crypto payouts and manage referral programs with PayRam. Self-hosted payout infrastructure — no KYC, no intermediary, no fund holds. Create payouts to any wallet across Ethereum, Base, Polygon, Tron, Bitcoin. Built-in affiliate program with automated reward distribution. Use when sending crypto payouts to users, building referral/affiliate programs, or needing integrated payment and payout infrastructure.