Check Payment
Method
GET https://prod.ninjapay.me/uapi/v1/p2p/paymentLink/checkPayment
Parameters
Response
{
"tid": "A198660213997",
"payment_mode": "upi",
"payment_mode_type": "primary",
"utr": "278917658915", // UTR added by the payer/customer upon
"amount": 120.10,
"amount_currency": "INR",
"payer_info": "+917337557707", // email or phone number of the payer/customer
"purpose": "sample_description",
"created_at": 1661215876,
"status": "pending", // pending, approved, declined status's by admin or merchant
"callback_url": "https://yourwebhook.com",
"callback_status": 200, // 200, 400, ... only triggers after payment
"success_url": "https://yoursuccessurl.com",
"hosted_checkout_url": "https://bit.ly/3H24Msg",
"order_id": "210",
"extra": {
"name": "nakamoto",
"email": "sample@sample.com"
},
"upi_info": {
"upi_id": "merchantupi@icici", // null if payment_mode is bank
},
"bank_info": {
"account_number": 001001553534,
"name": "Nanda Neeraj",
"ifsc": "icic0000060",
"bank_name": "icici",
"address": "vizag, dwarakanagar branch, 530024",
"swift": "merchantupi@icici"
},
"other_info": {
"paytm": "mypaytmid"
}
"total_fee": {
"network_fee": null,
"service_fee": null,
"gst_fee": null
}
}Code Example
Last updated