Submit UTR for Approval
You need to create a 'pay link' to receive fiat payments through Ninjapay UPI payment gateway. A pay link contains Payment info added in the dashboard by the merchant(you), capable of accepting payments through the UPI protocol or bank transfers from customers.
Method
POST https://prod.ninjapay.me/uapi/v1/p2p/paymentLink/submitUTR
Parameters
Body (application/json)
{
utr: string; // Add the 12 digit UTR number after successful UPI payment
payer_info: string; // "phone" or "email" info of the customer paying.
callback_url?: string; // Your webhook url for getting response on successuful approval.
extra?: {} // You can add other extra details like customer name, etc.. here.
}
Response
{
"status": <bool>, // true or false
"data": {
"tid": "198A60SO23PN99N7",
},
"message": <sting>
}Payment Success Response
Upon successful approval, the Ninjapay platform sends the fiat amount to the provided UPI ID and gives a success response to the callback_url.
Callback Response
Code Example
Last updated