To generate UPI payment options that the respective apps recognize, you would need a UPI deep link.
You can create these deep links through:
APIs provided by Payment Gateways.
APIs provided by Banks.
If you use the above-mentioned channels, the benefits include:
Comprehensive validations.
Reconciliation support.
Platform-level management (iOS/Android), as UPI behavior varies across platforms.