Log inGet started

Take UPI payments.
Know the second they land.

Customers pay your FamPay UPI ID. FamGateway reads the alert email, matches the order and sends your website a signed confirmation, with a clean success or failed page for your customer.

0second polling
0bit AES encryption
0platform fee
0minute order window

Everything a small shop needs to get paid

Instant confirmation

Orders turn paid as soon as the FamPay alert reaches your inbox.

Success and failed pages

Customers see a clear receipt or a helpful failure page, then return to your site automatically.

Webhooks that you can trust

Every webhook and redirect is signed with your API key, so nobody can fake a payment.

Live dashboard

Revenue, requests and every transaction in one clear view.

Google sign-in

Log in with one tap. Your Gmail App Password is stored AES-256 encrypted.

Your money stays yours

Payments go straight to your UPI ID. We only read the alert.

From checkout to confirmed in four steps

  1. 1

    Create an order

    Your site calls the API with an amount.

  2. 2

    Customer pays

    They scan the QR or open their UPI app.

  3. 3

    We read the alert

    FamPay's email is matched to the order.

  4. 4

    You are notified

    Webhook fires and the customer lands on the success page.

See what your customers see

This is the same flow your customer goes through. Try a successful payment, or let the order expire to see the failed page.

Rahul's Store
Order ORDER123
₹499.03

Connect your website in minutes

Create an order, send the customer to payment_url, then trust the signed webhook or redirect. Success and failed pages are hosted for you.

Get your API key
<?php
$ch = curl_init('https://famxgateway.flexexp.store/api/create_order.php');
curl_setopt_array($ch, [
  CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true,
  CURLOPT_HTTPHEADER => ['X-API-KEY: YOUR_API_KEY'],
  CURLOPT_POSTFIELDS => http_build_query([
    'mid' => 'YOUR_MID', 'amount' => 499, 'order_id' => 'ORDER123',
    'redirect_url' => 'https://yoursite.com/thanks.php',
    'webhook_url'  => 'https://yoursite.com/webhook.php',
  ]),
]);
$res = json_decode(curl_exec($ch), true);
header('Location: ' . $res['payment_url']);

Frequently asked questions

How does FamGateway verify payments?

When a customer pays, FamPay sends a transaction alert to your Gmail. FamGateway reads that alert over IMAP, matches the amount and marks the order as paid within seconds.

Do I need a business bank account?

No. You only need a FamPay account with its linked Gmail address. Your customers pay your FamPay UPI ID directly, so the money never passes through us.

Is my Google App Password safe?

Your App Password is encrypted with AES-256 before it is stored. It can only read mail, and you can revoke it from your Google account at any time.

Why does the payable amount have a few extra paise?

To tell two customers apart, each pending order gets a unique amount such as ₹100.03. It is the only reliable way to match a UPI payment to an order automatically.

How long does an order stay open?

Fifteen minutes by default. After that the order expires and a new one must be created.

Can I get a webhook when a payment succeeds?

Yes. Pass a webhook_url when you create the order. We send a signed JSON POST as soon as the payment is verified.

What does it cost?

This build has no platform fee. You only need hosting with PHP and the IMAP extension.

Ready to take your first payment?

Create free accountContinue with Google