FamApp by Trio (FamX) API: How to Accept Automated Payments on Website
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?
- Supported Account: FamApp by Trio (FamX Spending Account with
@famUPI 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 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:
- Direct to Your FamX Wallet: 100% of customer funds are sent directly to your
@famUPI VPA. FamGateway is a 100% non-custodial software bridge—we never hold your funds. - 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.
- 0% Commission (Free Forever): We don't take 2% or 3% cuts like corporate gateways. You keep 100% of your earnings.
- 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.
- Collision-Free Fractional Amount Routing: Unique fractional paise (e.g. ₹99.14 vs ₹99.28) ensure that concurrent payments are accurately matched to the correct customer.
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
$data = [
'api_key' => 'YOUR_FAMGATEWAY_API_KEY',
'amount' => 499.00,
'order_id' => 'FAMX_' . time(),
'redirect_url' => 'https://yoursite.com/order-success'
];
$ch = curl_init('https://famgateway.in/api/create_order.php');
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = json_decode(curl_exec($ch), true);
// Redirect buyer to the dynamic UPI QR checkout:
header('Location: ' . $response['payment_url']);
exit;
What Your Customers Experience
When a buyer clicks checkout on your site:
- They see a clean, professional checkout page featuring your custom brand colors and logo.
- A dynamic UPI QR code is presented showing the exact payable amount.
- The customer scans the QR using FamApp, Google Pay, PhonePe, or Paytm.
- 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 →
Related Developer Guides & Resources
How to Integrate FamPay Payment Gateway in PHP
A step-by-step developer guide on using FamGateway's REST API to automate UPI verifications in PHP.
How FamGateway™ Webhooks Work: Architecture, HMAC-SHA256 Security & Instant Delivery
Deep technical dive into the FamGateway webhook engine: HMAC-SHA256 cryptographic signatures, asynchronous ...
What is FamPay? Complete Guide to FamApp by Trio, UPI & Payments (2026)
Everything you need to know about FamPay (FamApp by Trio) in 2026: What is FamPay, how it works, under 18 a...