FamPay DevPortal

Automated UPI Solutions

GET API KEY

API Documentation

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://fampay.anujbots.xyz/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://fampay.anujbots.xyz/qr_codes/FAMPAY2026042300401024D72AA0.png",
    "upi_id": "anujffseller@fam",
    "amount": "10",
    "created_at_ist": "22-04-2026 23:00:41",
    "expires_at_ist": "22-04-2026 23:05:41"
  },
  "dev": "@ANUJxCODER"
}
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://fampay.anujbots.xyz/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": "@ANUJxCODER"
}
Payment Failed
{
  "status": "error",
  "message": "Transaction failed",
  "details": "Payment not received",
  "order_id": "FAMPAY2026...",
  "dev": "@ANUJxCODER"
}
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