UPI Intent
UPI Payment Collection, Digital QR
Create Order
await axios.post(
"https://server.paygic.in/api/v2/createPaymentRequest",
{
mid: "Your Merchant ID", //Example - PAYGIC
amount: "Amount should be between 1-100000 and numeric",//Example - 200
merchantReferenceId: "Your reference ID unique and a string",//Example- bd79da4cc3ff1
customer_name: "Your Customer Name",
customer_email: "Your Customer Email",
customer_mobile: "Your Customer Name",
},{
headers: {
token: "Your Auth Token"
}
}
);
//Response
{
status: true,
statusCode: 200,
msg: "Payment request created successfully",
data: {
intent: "Link starts with upi://",
phonePe: "Payment Link to complete payment on phonepe App",
paytm: "Payment Link to complete payment on paytm App",
gpay: "Payment Link to complete payment on google pay App",
dynamicQR: "Create Qr with this link",
expiry: "5 minutes expiry",
amount: 200,
paygicReferenceId: "orderId",
merchantReferenceId: "mref",
},
}
Last updated