---
page_source: https://docs.juspay.io/upi-inapp/flutter/headless-process-payloads/signed-intent-qr-signature-verification
page_title: Signed Intent/QR Signature Verification
---


## Signed Intent/QR Signature Verification




###   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: Value: upiVerifySignedUrl
      - Tags: String, Mandatory
    - **Url**:
      - Description: UPI QR/Intent URL
      - Tags: String, Mandatory
    - **MerchantKeyId**:
      - Description: Key ID to identify the public-private key pair used for signature generation.
      - Tags: String, Mandatory
    - **UdfParameters**:
      - Description: Stringified json for udf parameters
      - Tags: String, Optional
    - **Signature**:
      - Description: Signature generated for the signaturePayload.
      - 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
      - Tags: String, Mandatory
  - 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 performed in the SDK.
      - Value: Value: upiVerifySignedUrl
      - Tags: String, Mandatory
    - **Status**:
      - Description: Status of the Operation. Possible values : SUCCESS, FAILURE
      - Tags: String, Mandatory
    - **Valid**:
      - Description: true if validation is successful else false.
      - Tags: Boolean, Mandatory
    - **ResponseCode**:
      - Description: SUCCESS if the call succeeded. Otherwise shows the error code.
      - Tags: String, Mandatory
    - **ResponseMessage**:
      - Description: SUCCESS if the call succeeded. Otherwise shows verbose error.
      - 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





#### Code Snippets: -

#### Java Code Snippet:

```java
{
  "service": "in.juspay.hyperapi",
  "requestId": "693e4b2c-55af-42c0-85a9-a97972e2906f",
  "payload": {
    "udfParameters": "{}",
    "signaturePayload": "{\"merchant_id\":\"XXXXXXXX\",\"customer_id\":\"XXXXXXXX\",\"timestamp\":\"1639167811935\"}",
    "signature": "GFe...=\n",
    "url":  "upi://pay?pa=abc@xyz&pn=Lname%20Fname&mc=9999&tid
            =cxnkjcnkjdfdvjndkjfvn&tr=4894398cndhcd23&tn=Pay%20to%20mystar
            %20store&am=10&mam=null&cu=INR&url=https://mystar.com&mode=05&
            regid=000000&mid=1234&msid=3432&mtid=1212&orgId=<unique orgID>&sign=<signature>"        
    "merchantKeyId": "4794",
    "action": "upiVerifySignedUrl"
  }
}
```

#### Kotlin Code Snippet:

```kotlin
{
  "service": "in.juspay.hyperapi",
  "requestId": "693e4b2c-55af-42c0-85a9-a97972e2906f",
  "payload": {
    "udfParameters": "{}",
    "signaturePayload": "{\"merchant_id\":\"XXXXXXXX\",\"customer_id\":\"XXXXXXXX\",\"timestamp\":\"1639167811935\"}",
    "signature": "GFe...=\n",
    "url":  "upi://pay?pa=abc@xyz&pn=Lname%20Fname&mc=9999&tid
            =cxnkjcnkjdfdvjndkjfvn&tr=4894398cndhcd23&tn=Pay%20to%20mystar
            %20store&am=10&mam=null&cu=INR&url=https://mystar.com&mode=05&
            regid=000000&mid=1234&msid=3432&mtid=1212&orgId=<unique orgID>&sign=<signature>"        
    "merchantKeyId": "4794",
    "action": "upiVerifySignedUrl"
  }
}
```


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

#### Request Code Snippet:

```request
{
  "service": "in.juspay.hyperapi",
  "requestId": "693e4b2c-55af-42c0-85a9-a97972e2906f",
  "payload": {
    "udfParameters": "{}",
    "signaturePayload": "{\"merchant_id\":\"XXXXXXXX\",\"customer_id\":\"XXXXXXXX\",\"timestamp\":\"1639167811935\"}",
    "signature": "GFe...=\n",
    "url":  "upi://pay?pa=abc@xyz&pn=Lname%20Fname&mc=9999&tid
            =cxnkjcnkjdfdvjndkjfvn&tr=4894398cndhcd23&tn=Pay%20to%20mystar
            %20store&am=10&mam=null&cu=INR&url=https://mystar.com&mode=05&
            regid=000000&mid=1234&msid=3432&mtid=1212&orgId=<unique orgID>&sign=<signature>"        
    "merchantKeyId": "4794",
    "action": "upiVerifySignedUrl"
  }
}
```

### Response snippets:

#### Response:
```plaintext
{
  "service": "in.juspay.hyperapi",
  "requestId": "693e4b2c-55af-42c0-85a9-a97972e2906f",
  "payload": {
    "action" : "upiVerifySignedUrl"
    "status" : "SUCCESS",
    "responseCode" : "SUCCESS",
    "responseMessage" : "SUCCESS",
    "valid" : true
  },
  "event": "process_result",
  "errorMessage": "",
  "errorCode": "",
  "error": false
}
```

