---
page_title: Intent Handling
product: UPI TPAP SDK
platform: Cordova
page_source: https://juspay.io/in/docs/upi-tpap-sdk/cordova/interaction-with-sdk/intent-handling
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/upi-tpap-sdk/llms.txt
---


## Intent Handling




###   Android Manifest Changes


Changes in manifest for Incoming Intent, Incoming Mandate and UPI Global.



#### Code Snippets: -

#### JavaScript Code Snippet:

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



### Intent Response



Android will send result in [onActivityResult](../interaction-with-sdk/life-cycle-events). Following are the intent responses that Android will send:


###   Success



### Payload
- **RequestCode**:
  - Description: Calling apps requestCode
  - Tags: Integer
- **ResultCode**:
  - Description: Result Code
  - Value: Example: RESULT_OK
  - Tags: String
- **Data**:
  - Description: Intent Data
  - Value:
    - **Status**:
      - Description: Intent Status
      - Value: Example: Success
      - Tags: String
    - **TxnId**:
      - Description: Transaction ID
      - Value: Example: YBL99e9db4c88e84fb7834dff54cab92d09
      - Tags: String
    - **Response**:
      - Description: Intent Response
      - Value: Example: txnId=YBL99e9db4c88e84fb7834dff54cab92d09&txnRef=20220511319905447809&Status=Success&responseCode=00
      - Tags: String
    - **TxnRef**:
      - Description: Transaction Reference
      - Value: Example: 20220511319905447809
      - Tags: String
    - **ResponseCode**:
      - Description: Response Code
      - Value: Example: 00
      - Tags: String
  - Tags: JSON




#### Code Snippets: -

#### JavaScript Code Snippet:

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



###   Failure



### Payload
- **RequestCode**:
  - Description: Calling apps requestCode
  - Tags: Integer
- **ResultCode**:
  - Description: Result Code
  - Value: Example: RESULT_OK
  - Tags: String
- **Data**:
  - Description: Intent Data
  - Value:
    - **Status**:
      - Description: Intent Status
      - Value: Example: FAILURE
      - Tags: String
    - **TxnId**:
      - Description: Transaction ID
      - Value: Example: YBL99e9db4c88e84fb7834dff54cab92d09
      - Tags: String
    - **Response**:
      - Description: Intent Response
      - Value: Example: txnId=YBLa1b5bc0ada0743c292400fa0be124733&txnRef=15155312749&Status=Failed&responseCode=01
      - Tags: String
    - **TxnRef**:
      - Description: Transaction Reference
      - Value: Example: 20220511319905447809
      - Tags: String
    - **ResponseCode**:
      - Description: Response Code
      - Value: Example: 01
      - Tags: String
  - Tags: JSON




#### Code Snippets: -

#### JavaScript Code Snippet:

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



###   Backpress



### Payload
- **RequestCode**:
  - Description: Calling apps requestCode
  - Tags: Integer
- **ResultCode**:
  - Description: Result Code
  - Value: Example: RESULT_OK
  - Tags: String
- **Data**:
  - Description: Intent Data
  - Value:
    - **Status**:
      - Description: Intent Status
      - Value: Example: FAILURE
      - Tags: String
  - Tags: JSON




#### Code Snippets: -

#### JavaScript Code Snippet:

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


---

## Complete Code Reference

The following code files are referenced in the steps above:

### AndroidManifest.xml

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

### intenthandling.txt

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


---

## See Also

- [Handle SDK Response](https://juspay.io/in/docs/upi-tpap-sdk/cordova/interaction-with-sdk/handle-sdk-response)
- [IN-APP UPI with UI](https://juspay.io/in/docs/upi-tpap-sdk/cordova/ui-process-payloads/inapp-ui)
