webUPI.sendPayment()
Method
async function sendPayment(upiUri: string): SendPaymentResponse;
Parameters
interface SendPaymentArgs {
upiUri: string; // the UPI URI you'd like the user to pay.
callback_url?: string // Once a user approves or denies a payment, the UPI provider can notify the web app using the provided callback URL.
}
Response
interface SendPaymentResponse {
transactionId: string;
}
Callback Response
Example
Last updated