Instant UPI QR & Hosted Checkout
Call POST /api/v1/create to generate a scannable QR code data URL, standard upi://pay intent deep-link, and a hosted /pay/{order_id} page with automatic 8-second status polling.
PayZapy transforms your FamPay, Paytm Business, and BharatPe merchant accounts into a developer-grade payment gateway. Generate dynamic UPI QR codes via REST API, verify settlements strictly against bank and provider ledgers, and trigger cryptographic webhooks with 0% transaction commission.
Conventional payment gateways deduct 2%–3% fees and hold funds for T+2 days. PayZapy generates QR codes for your own merchant UPI ID so funds settle into your bank account immediately while PayZapy handles real-time payment verification and order webhooks.
Call POST /api/v1/create to generate a scannable QR code data URL, standard upi://pay intent deep-link, and a hosted /pay/{order_id} page with automatic 8-second status polling.
For concurrent FamPay orders of the same base amount, PayZapy automatically assigns a unique payable_amount paise offset and locks every verified UTR in seen_utrs so no transaction can ever be claimed twice.
Every settled payment dispatches an HTTP POST callback signed with your whsec_... secret in X-FamPay-Signature and X-PayZapy-Signature, backed by automatic exponential backoff retries.
Set a default provider in your Merchant Console or route individual orders dynamically via /api/v1/{fampay|paytm|bharatpe}/create.
Connects to your Gmail inbox via SSL IMAP using a 16-character Google App Password to parse incoming FamPay credit alert emails and extract the bank UTR automatically.
yourname@fam
Embeds the unique order reference into the UPI tr parameter and queries https://securegw.paytm.in/order/status using your MID for instant TXN_SUCCESS verification.
paytmqr...@paytm
Polls BharatPe's merchant transaction feed using your encrypted API token and Merchant ID to match incoming SUCCESS UPI collections within the active order window.
BHARATPE...@fbpe
PayZapy never trusts client-side success signals or unverified UTR claims. Every order transitions through a strict server-side verification pipeline.
Your server calls POST /api/v1/create with X-API-Key. PayZapy validates your API access, computes a collision-free payable_amount if needed, and generates the QR and /pay/{order_id} link.
The customer completes the UPI transfer using any UPI app (Google Pay, PhonePe, Paytm, FamPay, BHIM). The hosted checkout page polls /api/orders?action=get&id=... every 8 seconds.
PayZapy verifies the transaction directly against Gmail IMAP (FamPay), Paytm Order Status API, or BharatPe Prism API, confirming exact amount, post-creation timestamp, and inserting the UTR into seen_utrs.
The order status transitions atomically to paid, the customer sees a printable verified receipt, and your webhook URL receives an HMAC-SHA256 signed event payload.
Pass your fam_live_... or fam_test_... key in the X-API-Key header. Copy the snippets below to integrate PayZapy in minutes.
<?php
$payload = [
'amount' => 250.00,
'payment_provider' => 'fampay', // 'fampay' | 'paytm' | 'bharatpe'
'client_order_id' => 'INV-2026-991',
'customer_name' => 'Rohan Gupta',
'customer_email' => 'rohan@example.com',
'description' => 'Pro Plan Renewal',
'redirect_url' => 'https://yourstore.com/thank-you',
'expiry_minutes' => 15
];
$ch = curl_init('https://freex.mixygrow.in/api/v1/create');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Content-Type: application/json',
'X-API-Key: fam_live_your_api_key_here'
],
CURLOPT_POSTFIELDS => json_encode($payload)
]);
$response = json_decode(curl_exec($ch), true);
// Redirect customer to $response['payment_url']
{
"ok": true,
"order_id": "ord_m9z8x4a1",
"amount": 250.00,
"payable_amount": 250.00,
"payment_provider": "fampay",
"status": "pending",
"upi_link": "upi://pay?pa=merchant@fam&pn=Store&am=250.00&cu=INR&tr=ord_m9z8x4a1",
"payment_url": "https://freex.mixygrow.in/pay/ord_m9z8x4a1",
"qr_data": "data:image/png;base64,iVBORw0KGgoAAAANS...",
"expires_at": "2026-10-19T07:30:00.000Z"
}
Designed for both developers and non-technical store owners, the PayZapy Merchant Console gives you real-time visibility into every UPI transaction.
Create live UPI payment links and QR codes right from your browser without writing a single line of code.
Verify your Gmail IMAP app password, Paytm Business MID, or BharatPe API feed with one-click live diagnostics.
Manage your fam_live_ production key and fam_test_ sandbox key (with 5 free test requests).
Send test webhook events, inspect HTTP status codes and response bodies, and manually retry failed callbacks.
PayZapy never takes a percentage of your sales. Start accepting FamPay UPI payments for free, or unlock Paytm Business and BharatPe with a flat monthly plan.
Complete FamPay + Gmail IMAP automatic payment verification with 5 sandbox test requests.
Full access to Paytm Business & BharatPe APIs for 1 month.
Full access to Paytm Business & BharatPe APIs for 2 months.
Full access to Paytm Business & BharatPe APIs for 3 months.
Read complete endpoint specs (/api/v1/create, /api/v1/check, /api/v1/verify) and step-by-step setup guides for Gmail App Passwords, Paytm Business MIDs, and BharatPe tokens.
fam_live_ API key and start generating UPI QRs.