---
page_title: Generating UPI Request ID
product: UPI TPAP SDK
platform: React Native
page_source: https://juspay.io/in/docs/upi-tpap-sdk/react-native/miscellaneous/generating-upi-request-id
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/upi-tpap-sdk/llms.txt
---


## Generating UPI Request ID



 The merchant should generate upiRequestId following these criterias: 

* upiRequestId should be an alphanumeric 35 length string.
* It should start with a 3 character prefix which is given by NPCI for every handle. AXB, YJP and RBA are the prefixes for Axis Bank, Yes Bank and Rbl bank respectively. Example: "AXBfcd764aeab2a4bd195b25d652c1887f7" where AXB is the prefix.


###   Code snippet for upi request id generation


> **Note**
> let str = uuid.v4().replace(/-/g, "");return txnIdPrefix + str.substr(0, 32)





---

## See Also

- [Generating Request ID](https://juspay.io/in/docs/upi-tpap-sdk/react-native/miscellaneous/generating-request-id)
- [Order ID Format](https://juspay.io/in/docs/upi-tpap-sdk/react-native/miscellaneous/order-id-format)
