Guide #27 Developer & Bot Integration Guide

FamX & FamApp UPI API Integration: Accept Payments on Website & Bot (2026)

By Aryan Gupta September 2, 2026 5 min read

FamPay's transition into FamApp by Trio introduced the popular FamX Spending Account—giving millions of teenagers and young creators in India their own UPI ID (@fam) and numberless doodle card without needing a traditional bank account. But if you want to sell software, Discord memberships, game keys, or freelance services online, how do you automate payments directly into your FamX account?

FamX Integration Summary
  • Supported Account: FamApp by Trio (FamX Spending Account with @fam UPI handle).
  • Setup Speed: Under 2 minutes (Requires personal UPI ID + Google App Password, zero business GST).
  • Webhook Dispatch: Triggers 3–5 seconds after UPI transaction clearance.
  • Platform Fees: 0% Lifetime (Non-custodial, direct peer-to-peer settlement).

1. The Dilemma: FamApp Has No Official Merchant API

FamApp by Trio is engineered as a personal spending and saving app for everyone aged 11+. While it offers lightning-fast peer-to-peer UPI payments (taking less than 0.6 seconds), it lacks enterprise merchant infrastructure:

  • No Webhooks: FamApp cannot notify your web server when a customer completes a payment.
  • No Dynamic Checkout SDKs: You cannot embed a native FamApp checkout button on your Shopify, WooCommerce, or custom PHP/Node.js site.
  • Traditional Gateways Demand GST: Platforms like Razorpay, PayU, and Stripe reject solo creators who don't have registered companies, corporate current accounts, or GST certificates.
Capability FamGateway Bridge Official FamApp Commercial Gateways
Personal FamX Support Native Support (@fam) P2P App only Rejected (No GST)
Automated Webhooks Instant (3-5s JSON POST) None Yes (After KYC)
Transaction Cuts 0% (Free Forever) 0% 2% – 3% + GST
The Problem for Young Developers: You have a great project or digital store, but without an API, you are forced to ask buyers for payment screenshots on WhatsApp or Discord and manually verify UTRs—costing you sales and hours of manual work.

The Solution: FamGateway for FamApp by Trio (FamX)

FamGateway serves as the missing developer bridge for FamApp by Trio. It connects your personal FamX Spending Account directly to your website, mobile app, or Discord bot with instant webhook automation.

Why FamGateway is Built for FamX Users:

  1. Direct to Your FamX Wallet: 100% of customer funds are sent directly to your @fam UPI VPA. FamGateway is a 100% non-custodial software bridge—we never hold your funds.
  2. Zero GST or Business KYC Required: Start accepting automated payments in under 2 minutes using only your personal FamX UPI ID and a secure Gmail App Password.
  3. 0% Commission (Free Forever): We don't take 2% or 3% cuts like corporate gateways. You keep 100% of your earnings.
  4. Instant 3–5 Second Webhooks: The moment FamApp sends you a transaction receipt email, our high-speed stateless engine parses the UTR and triggers a webhook to your server.
  5. Clean Exact Amounts & Bank UTR Idempotency: Orders are verified with exact clean amounts (e.g. ₹99.00) without awkward decimal changes, using Bank UTR Idempotency locking and exact Order ID transaction note routing.

How to Connect Your FamX Account in 3 Minutes

Step 1: Sign Up on FamGateway

Create your free developer account at FamGateway Registration. You'll instantly receive access to your API Keys and Merchant Dashboard.

Step 2: Link Your @fam UPI ID & Email

In your FamGateway profile settings:

  • Enter your FamApp UPI address (e.g. username@fam).
  • Add your Gmail address and generate a 16-character Gmail App Password so FamGateway can listen for incoming FamPay transaction receipts.

Step 3: Integrate the REST API or Create a Payment Link

You can create instant shareable payment links or integrate our API with just a few lines of code:

// Create an automated checkout order for your FamX account
$apiKey = 'YOUR_FAMGATEWAY_API_KEY';
$payload = json_encode([
    'amount' => 499.00,
    'customer_name' => 'Aditi Sharma',
    'redirect_url' => 'https://yoursite.com/order-success',
    'webhook_url'  => 'https://yoursite.com/webhook.php'
]);

$ch = curl_init('https://famgateway.in/api/create-order');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_POST => true,
    CURLOPT_POSTFIELDS => $payload,
    CURLOPT_HTTPHEADER => [
        'Content-Type: application/json',
        'X-Api-Key: ' . $apiKey
    ]
]);
$response = curl_exec($ch);
curl_close($ch);

$result = json_decode($response, true);
if (($result['status'] ?? '') === 'success') {
    // Redirect buyer to the dynamic UPI QR checkout:
    header('Location: ' . $result['data']['checkout_url']);
    exit;
}

What Your Customers Experience

When a buyer clicks checkout on your site:

  1. They see a clean, professional checkout page featuring your custom brand colors and logo.
  2. A dynamic UPI QR code is presented showing the exact payable amount.
  3. The customer scans the QR using FamApp, Google Pay, PhonePe, or Paytm.
  4. Within 5 seconds of payment completion, your website automatically unlocks their purchase!

Conclusion

You no longer need to wait until you turn 18, register a private limited company, or get a GST certificate just to automate online payments. With FamApp by Trio and FamGateway, any creator or developer in India can build a frictionless micro-SaaS or digital storefront today.

Get Started with FamGateway Free →

Topic Cluster & Series

Related Developer Guides & Resources

View All 70+ Guides →
SMM Panels

How to Integrate FamPay UPI Payment Gateway in SMM Panels (Rental, Perfect Panel & SmartPanel)

Step-by-step developer guide to integrating FamPay UPI payment gateway in SMM panels (Rental, Perfect Panel...

Read Guide →
WooCommerce

How to Accept UPI Payments on WooCommerce Without GST or Current Account (2026 Guide)

Complete tutorial on accepting automated UPI payments on WooCommerce without GST or a commercial current ac...

Read Guide →
Telegram Bot

How to Accept Automated UPI Payments in Telegram Bots (Python & Node.js Guide)

Step-by-step tutorial on accepting automated UPI payments in Telegram shop bots using Python (FastAPI) and ...

Read Guide →

Back to Homepage →

About the Platform

FamGateway is an official unit of ARYANISPE, founded by Aryan Gupta (Aryanispe) and officially registered under the Ministry of Micro, Small and Medium Enterprises (MSME), Government of India (Reg: UDYAM-BR-28-0050000).

Legal Disclaimer: FamGateway is an independent developer automation tool operated by ARYANISPE. FamGateway is not affiliated with, authorized, maintained, sponsored, or endorsed by Tri O Tech Solutions Private Limited, FamApp, or FamPay. All brand names, logos, and trademarks belong to their respective owners.

All Systems Operational