Status and CallBack
Check Status
await axios.post(
"https://server.paygic.in/api/v2/checkPaymentStatus",
{
mid: "Your Merchant ID", //Example - PAYGIC
merchantReferenceId: "Your reference ID unique and a string",//Example- bd79da4cc3ff1
},
{
headers: {
token: "Your Auth Token"
}
}
);
//Response
{
status: true,
statusCode: 200,
txnStatus: "SUCCESS",
msg: "Transaction is successful",
data: {
amount: 10,
mid: ”PAYGIC”,
paygicReferenceId: “PAYGIC1729183960695592E9”,
merchantReferenceId: “5c5a5f8af5397”,
successDate: 1729247938098,
}
}
Callback or Web-hook
Response
Last updated