There have been cases where UPI accounts have been hacked. UPI helps people to receive or send money to different bank accounts. You would have to create a virtual ID or payment address and password and link his/her bank accounts with this ID. You would also have to create a PIN number which will be used for transactions. If the transaction is successful then there will be no issues. 

Additional Reading: Can We Share Upi Id

However, in some cases a hacker might get access to your UPI account and transfer money illegally from your bank account. If you take the necessary precautions, you’ll be able to protect your UPI account from being hacked. Do not disclose your UPI credentials to anyone. Before making transactions with a second party, make sure the merchant or seller is safe and authentic. Secure your smartphone by installing antivirus or malware, which will ensure your phone from being hacked. Make sure you keep changing your password on your phone over regular intervals.