Merchants from countries other than India can generate UPI Global QR Codes to receive UPI payments.
International merchants should contact their banks to check whather they have tie up with National Payment Corporation of India (NCPI) to receive UPI Payments. If your bank is onboarded for UPI Payments, then you should get UPI ID, your merchant id & your Bank's intitutional ID allotted by NPCI. International Merchants can checks with Indian Banks Branches in their countries to find out if they are support UPI Global Payments?
Indian Merchants should generate UPI QR Code from following link:
UPI QR Code Generator