Integrate Instantly into Your Platform
Connect our instant payment request forms and dynamic QR generation endpoints into your custom billing scripts, shopping carts, SaaS portals, or local invoices.
UPI Parameters
Standard NPCI variables supported by our platform and major banking clients:
Payee Address (Your UPI handle, e.g., merchant@okaxis)
Payee Name (Your registered bank account name)
Transaction Amount (e.g., 250.00)
Transaction Note (Reference purpose displayed to payer)
Currency. Defaulted to INR
1. HTML Responsive iFrame Widget
Insert this clean customizable responsive billing generator anywhere on your website in just one line of code:
<iframe src="https://upipg.naws.in/embed/widget?upi=merchant@okaxis&name=My+Shop&amount=500&locked=1" width="100%" height="620" frameborder="0" style="border-radius: 12px; border: 1px solid #e5e7eb;" title="UPI Payment Generator" ></iframe>
2. Client Javascript Deep Link Builder
Construct raw payment links programmatically to invoke UPI applications directly inside mobile webviews:
/**
* Helper to build NPCI compliant direct UPI payment deep link
*/
function buildUpiLink(upiId, name, amount, note) {
const params = new URLSearchParams({
pa: upiId,
pn: name,
cu: 'INR'
});
if (amount) params.append('am', parseFloat(amount).toFixed(2));
if (note) params.append('tn', note);
return 'upi://pay?' + params.toString();
}
3. PHP Server Side UPI Link Generator
Generate the direct payment link on your backend for QR code generation or secure redirect links:
<?php
function generateUpiUrl($upiId, $payeeName, $amount = null, $note = null) {
$params = [
'pa' => $upiId,
'pn' => $payeeName,
'cu' => 'INR'
];
if ($amount !== null) {
$params['am'] = number_format((float)$amount, 2, '.', '');
}
if ($note !== null) {
$params['tn'] = $note;
}
return "upi://pay?" . http_build_query($params);
}