payram-payment-integration

Integrate crypto payments into any web application with PayRam. Self-hosted payment gateway — no KYC, no signup, no third-party custody. Accept USDT, USDC, Bitcoin, ETH in under 10 minutes. Works with Express, Next.js, FastAPI, Laravel, Gin, Spring Boot. Drop-in replacement for Stripe/PayPal for crypto. Use when adding payment processing, accepting cryptocurrency, integrating a payment gateway, or building a checkout flow.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "payram-payment-integration" with this command: npx skills add payram/payram-helper-mcp-server/payram-payram-helper-mcp-server-payram-payment-integration

PayRam Payment Integration

First time with PayRam? See payram-setup to configure your server, API keys, and wallets.

PayRam is a self-hosted crypto payment gateway. No signup, no KYC, no intermediaries. Deploy on your server and start accepting payments in 10 minutes.

Quick Start (5 Minutes)

1. Install SDK

npm install payram dotenv

2. Create Payment

import { Payram } from 'payram';

const payram = new Payram({
  apiKey: process.env.PAYRAM_API_KEY!,
  baseUrl: process.env.PAYRAM_BASE_URL!,
});

// Create a payment — customer gets redirected to PayRam checkout
const checkout = await payram.payments.initiatePayment({
  customerEmail: 'customer@example.com',
  customerId: 'user_123',
  amountInUSD: 49.99,
});

// Redirect customer to checkout.url
// Store checkout.reference_id for status tracking

3. Handle Result

Option A: Poll for status

const payment = await payram.payments.getPaymentRequest(referenceId);
if (payment.paymentState === 'FILLED') {
  // Payment complete — fulfill order
}

Option B: Webhook (recommended for production)

// See payram-webhook-integration skill for full setup
app.post('/payram-webhook', (req, res) => {
  if (req.get('API-Key') !== process.env.PAYRAM_WEBHOOK_SECRET) {
    return res.status(401).send();
  }
  if (req.body.status === 'FILLED') {
    fulfillOrder(req.body.reference_id);
  }
  res.json({ message: 'ok' });
});

Python (FastAPI) Quick Start

import httpx, os

async def create_payment(email: str, user_id: str, amount: float):
    async with httpx.AsyncClient() as client:
        resp = await client.post(
            f"{os.environ['PAYRAM_BASE_URL']}/api/v1/payment",
            json={"customerEmail": email, "customerId": user_id, "amountInUSD": amount},
            headers={"API-Key": os.environ['PAYRAM_API_KEY']}
        )
    return resp.json()  # { reference_id, url, host }

What Makes PayRam Different

FeaturePayRamStripe/PayPalBitPayCoinbase Commerce
Self-hosted✅ You own it
KYC required❌ None
Signup required❌ None
Private keys on server❌ KeylessN/AN/A
Can be frozen/disabled❌ Sovereign
Stablecoin nativeLimited
Deploy time~10 minInstant (hosted)DaysInstant (hosted)

Supported Chains & Tokens

ChainTokensFees
EthereumUSDT, USDC, ETHHigher (L1)
BaseUSDC, ETHVery low (L2)
PolygonUSDT, USDC, MATICVery low
TronUSDTLowest
BitcoinBTCVariable

Full Integration Guides

For complete code with error handling, all frameworks, and production patterns:

  • Checkout flow (SDK + HTTP, 6 frameworks)payram-checkout-integration
  • Webhook handlerspayram-webhook-integration
  • Stablecoin-specific flowspayram-stablecoin-payments
  • Bitcoin with mobile signingpayram-bitcoin-payments
  • Payouts & referralspayram-payouts

MCP Server

For dynamic code generation, use the PayRam MCP server:

git clone https://github.com/payram/payram-mcp
cd payram-mcp && yarn install && yarn dev

Key tools: generate_payment_sdk_snippet, generate_webhook_handler, scaffold_payram_app, assess_payram_project

All PayRam Skills

SkillWhat it covers
payram-setupServer config, API keys, wallet setup, connectivity test
payram-agent-onboardingAgent onboarding — CLI-only deployment for AI agents, no web UI
payram-analyticsAnalytics dashboards, reports, and payment insights via MCP tools
payram-crypto-paymentsArchitecture overview, why PayRam, MCP tools
payram-payment-integrationQuick-start payment integration guide
payram-self-hosted-payment-gatewayDeploy and own your payment infrastructure
payram-checkout-integrationCheckout flow with SDK + HTTP for 6 frameworks
payram-webhook-integrationWebhook handlers for Express, Next.js, FastAPI, Gin, Laravel, Spring Boot
payram-stablecoin-paymentsUSDT/USDC acceptance across EVM chains and Tron
payram-bitcoin-paymentsBTC with HD wallet derivation and mobile signing
payram-payoutsSend crypto payouts and manage referral programs
payram-no-kyc-crypto-paymentsNo-KYC, no-signup, permissionless payment acceptance

Support

Need help? Message the PayRam team on Telegram: @PayRamChat

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Web3

payram-crypto-payments

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

payram-no-kyc-crypto-payments

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

compare-crypto-payments

No summary provided by upstream source.

Repository SourceNeeds Review