---
page_title: Pay to UPI Number
product: UPI TPAP SDK
platform: React Native
page_source: https://juspay.io/in/docs/upi-tpap-sdk/react-native/headless-process-payloads/pay-to-upi-number
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/upi-tpap-sdk/llms.txt
---


## Pay to UPI Number



This operation will enable customers to pay to other customers by entering customer's upi number


###   Process Parameters



## Request Payload
- **RequestId**:
  - Description: Unique uuid-v4 string
  - Value: Example: abcd-12345-abcd-12345
  - Tags: String, Mandatory
- **Service**:
  - Description: Value: in.juspay.hyperapi
  - Tags: String, Mandatory
- **Payload**:
  - Description: Parameters required to call Hyper SDK API
  - Value:
    - **Action**:
      - Description: Operation to be performed in the SDK.
      - Value: upiSendMoney
      - Tags: String, Mandatory
    - **PayType**:
      - Description: P2P_PAY / SCAN_PAY / INTENT_PAY / SELF_PAY
      - Tags: String, Mandatory
    - **CustomerVpa**:
      - Description: Customer VPA
      - Tags: String, Mandatory
    - **PayeeVpa**:
      - Description: Payee VPA will be available as **customerVpa**  in the response of [Valid VPA](valid-vpa) call
      - Tags: String, Mandatory
    - **PayeeName**:
      - Description: Payee Name
      - Tags: String, Mandatory
    - **UpiRequestId**:
      - Description: request id for upi transaction
      - Tags: String, Mandatory
    - **Amount**:
      - Description: Amount to be transfered. Numeric String with two decimals
      - Tags: String, Mandatory
    - **UpiNumber**:
      - Description: UPI Number of the payee
      - Tags: String, Mandatory
    - **AccountReferenceId**:
      - Description: reference id for selected accounts
      - Tags: String, Mandatory
    - **Remarks**:
      - Description: Remarks sent for transaction
      - Tags: String, Mandatory
    - **Timestamp**:
      - Description: timestamp
      - Tags: String, Mandatory
    - **Signature**:
      - Description: Signature generated for the signaturePayload
      - Value: <signature>
      - Tags: String, Mandatory
    - **SignaturePayload**:
      - Description: Signature payload is a stringified JSON of the details mentioned in the below table.
      - Value:
        - **Merchant_id**:
          - Description: Unique identifier associated with an account created by juspay.Ex: stock
          - Tags: String, Mandatory
        - **Customer_id**:
          - Description: Any unique reference associated with your customer.
          - Tags: String, Mandatory
        - **Timestamp**:
          - Description: Time when request is created in milliseconds.
          - Tags: String, Mandatory
        - **Amount**:
          - Description: Amount to be transfered. Numeric String with two decimals
          - Tags: String, Mandatory
      - Tags: String, Mandatory
    - **PayeeAccountReferenceId**:
      - Description: Only required in SELF_PAY (Account reference Id for destination account of payee)
      - Tags: String, Optional
    - **TransactionReference**:
      - Description: No - in the case of P2P_PAY. Yes - in the case of SCAN_PAY (As received in the QR in tr parameter). INTENT_PAY - As received in the intent in tr parameter
      - Value: Possible values: No/Yes/INTENT_PAY
      - Tags: String, Optional
    - **RefCategory**:
      - Description: No - P2P_PAY Yes - SCAN_PAY (As received in the QR in category parameter.) INTENT_PAY (As received in the intent in category parameter)
      - Tags: String, Optional
    - **RefUrl**:
      - Description: No - P2P_PAY Yes - SCAN_PAY (As received in the QR in url parameter.) INTENT_PAY (As received in the intent in url parameter)
      - Tags: String, Optional
    - **Currency**:
      - Description: No - P2P_PAY Yes - SCAN_PAY (As received in the QR in cu parameter.) INTENT_PAY (As received in the intent in cu parameter)
      - Tags: String, Optional
    - **InitiationMode**:
      - Description: Refer Intiation Mode table
      - Tags: String, Optional
    - **Mcc**:
      - Description: No - P2P_PAY Yes - SCAN_PAY (As received in the QR in mc parameter.) INTENT_PAY (As received in the intent in mc parameter)
      - Tags: String, Optional
    - **MerchantKeyId**:
      - Description: Key ID to identify the public-private key pair used for signature generation
      - Tags: String, Optional
  - Tags: JSON, Mandatory


## Response Payload
- **RequestId**:
  - Description: Unique uuid-v4 string
  - Value: Example: abcd-12345-abcd-12345
  - Tags: String
- **Service**:
  - Description: Value: in.juspay.hyperapi
  - Tags: String
- **Payload**:
  - Description: Response Parameters
  - Value:
    - **Action**:
      - Description: Operation to be performed in the SDK.
      - Value: upiSendMoney
      - Tags: String, Mandatory
    - **CustomerVpa**:
      - Tags: String, Mandatory
    - **CustomerMobileNumber**:
      - Description: masked phone number of the customer
      - Value: <Customer mobile number>
      - Tags: String, Mandatory
    - **Amount**:
      - Description: Amount sent. Numeric String with two decimals
      - Tags: String, Mandatory
    - **PayType**:
      - Description: P2P_PAY / SCAN_PAY / INTENT_PAY / SELF_PAY
      - Tags: String, Mandatory
    - **TransactionTimestamp**:
      - Description: Timestamp of transaction
      - Tags: String, Mandatory
    - **GatewayTransactionId**:
      - Description: upiRequestId as passed in request
      - Tags: String, Mandatory
    - **GatewayReferenceId**:
      - Description: Unique Transaction Number
      - Tags: String, Mandatory
    - **GatewayResponseCode**:
      - Description: Response Code received from NPCI
      - Tags: String, Mandatory
    - **GatewayResponseMessage**:
      - Description: Response Message received from NPCI
      - Tags: String, Mandatory
    - **BankCode**:
      - Description: IIN Code for the bank
      - Tags: String, Mandatory
    - **PayeeMcc**:
      - Description: Merchant Category Code of the payee merchant
      - Tags: String, Optional
    - **RefUrl**:
      - Tags: String, Optional
    - **MaskedAccountNumber**:
      - Description: Account Number with last few digits visible
      - Tags: String, Mandatory
    - **BankAccountUniqueId**:
      - Description: Unique Identifier for bank account across banks
      - Tags: String, Mandatory
    - **Status**:
      - Description: If upiSendMoney call was success or failed
      - Value: SUCCESS / FAILURE
      - Tags: String, Mandatory
    - **OtherInfo**:
      - Description: As passed in request
      - Tags: String, Optional
  - Tags: JSON
- **Error**:
  - Description: Possible values :- true/false
  - Tags: Boolean
- **ErrorMessage**:
  - Description: Error Message
  - Tags: String
- **ErrorCode**:
  - Description: Error Code
  - Tags: String
- **Event**:
  - Description: Value: process_result
  - Tags: String





## Sample Code Snippets:
### Request snippets:

#### Request Code Snippet:

```request
{"success":false,"message":"Failed to fetch snippet"}
```

### Response snippets:

#### Response:
```plaintext
{"success":false,"message":"Failed to fetch snippet"}
```



---

## See Also

- [Request Money](https://juspay.io/in/docs/upi-tpap-sdk/react-native/headless-process-payloads/request-money)
- [List Pending Transactions](https://juspay.io/in/docs/upi-tpap-sdk/react-native/headless-process-payloads/list-pending-transactions)
