Payment integration

Job ID: 36226745

Budget: ₹1,500 – ₹12,500 INR

I am here to get the payment feature for my app. In this feature I want a normal screen, there will be a button labelled 'add funds', clicking on it user can make the payment through upi. and once payment is done that amount is shown on the same page. also, there will be a input field with a button labeled withdraw. using this user should be able to withdraw their funds in the same upi they used to pay or in their bank account, to get the bank details you can create a modal form.
This should be highly secured with handling of errors and rejection scenarios. like if payment failed or rejected, prompt the user it failed with reason and ask to try again.
Note: I will be needing source code, and it should only be done using react/nextjs and nodejs, mongodb. no other code language.