🚀 API v2.0 is Live

Next-Generation
Payment Infrastructure

Integrate FamPay automatic payment verification into your applications with lightning-fast speed and military-grade security.

99.9% Uptime
<200ms Response
SSL Encrypted
1

Generate QR Code

POST Payment Request

Generate a dynamic UPI QR code for receiving instant payments with automatic verification.

GET https://famgateway.online/qr.php?upi=YOUR_UPI_ID&amount=AMOUNT

Request Parameters

Parameter Type Description
upi Required Your UPI ID (e.g., example@okhdfcbank)
amount Optional Payment Amount Configuration:
amount=100 → Fixed ₹100
amount=0 → User can enter any amount
Response Format
{
  "status": "success",
  "data": {
    "order_id": "FAMPAY2026042300401024D72AA0",
    "qr_url": "https://famgateway.online/qr_codes/FAMPAY2026042300401024D72AA0.png",
    "upi_id": "famgateway@fam",
    "amount": "10",
    "created_at_ist": "22-04-2026 23:00:41",
    "expires_at_ist": "22-04-2026 23:05:41"
  },
  "dev": "@michalecodex"
}
Pro Tip: QR codes expire after 5 minutes for security. Save the order_id for payment verification.
2

Verify Payment Status

Check Transaction Completion

Verify if payment has been successfully received using the unique Order ID with real-time status updates.

GET https://famgateway.online/verify.php?order_id=ORDER_ID&api_key=YOUR_API_KEY

Request Parameters

Parameter Type Description
order_id Required The unique order ID received from QR generation endpoint
api_key Required Your personal API authentication key (Get from Telegram Bot)

Response Examples

Payment Success
{
  "status": "success",
  "data": {
    "order_id": "FAMPAY2026...",
    "transaction_id": "FMPIB5255631361",
    "amount": 10,
    "utr": "301268197755",
    "sender_name": "Anuj Patel",
    "payment_time_ist": "23-04-2026 00:42:12"
  },
  "dev": "@michalecodex"
}
Payment Failed
{
  "status": "error",
  "message": "Transaction failed",
  "details": "Payment not received",
  "order_id": "FAMPAY2026...",
  "dev": "@michalecodex"
}
Payment Pending
{
  "status": "pending",
  "message": "Payment not received yet. Keep checking.",
  "order_id": "FAMPAY2026042300401024D72AA0",
  "dev": "@michalecodex"
}
Important: Keep your api_key confidential. Never expose it in client-side code or public repositories.

Why Choose FamPay API?

Lightning Fast

Instant payment verification with <200ms response time

Bank-Grade Security

End-to-end encryption with SSL/TLS protocols

Developer Friendly

Simple RESTful API with comprehensive documentation

Copied to clipboard!