---
page_title: UPI Intent Autopay Payload
product: upi-autopay
page_source: https://docs.juspay.io/upi-autopay/docs/how-to-integrate/upi-intent-autopay-payload
llms_txt: https://docs.juspay.io/llms.txt
product_llms_txt: https://docs.juspay.io/upi-autopay/llms.txt
---


## **UPI Intent Autopay Payload** 



UPI Intent Mandate flow (user selects one of the UPI enabled Apps present in his phone), registers for the mandate and approves autodebit via the respective app


### Step 1.1. Mandate Paramters



### Payload
- **ShouldCreateMandate**:
  - Description: This is a customer’s consent flag. This should be always **TRUE**  in case of a mandate transaction and should be passed under payload block
  - Tags: Boolean, Mandatory





### Step 1.1. SDK Process Call Complete Parameters



### Payload
- **RequestId**:
  - Description: Unique uuid-v4 string
    
    Example: abcd-12345-abcd-12345
  - Value: value
  - Tags: String, Mandatory
- **Service**:
  - Description: Value: in.juspay.hyperapi
  - Tags: String, Mandatory
- **Payload**:
  - Description: Parameters required to call Hyper SDK API
  - Value:
    - **Action**:
      - Description: Must be upiTxn for UPI Process calls.
      - Tags: String, Mandatory
    - **OrderId**:
      - Description: order id pertaining to the order for which the payment is started.
      - Tags: String, Mandatory
    - **PayWithApp**:
      - Description: Package name of the app selected by the user.
        
        For eg. For phonepe app pass**com.phonepe.app**
      - Tags: String, Mandatory
    - **ClientAuthToken**:
      - Description: Required for client side authentication
      - Tags: String, Mandatory
    - **Offers**:
      - Description: The key offers should be passed only when juspay offers are being used. The value for this key can set as the offerID which is received from /v1/offers/list api
      - Tags: Array of Strings
  - Tags: JSON, Mandatory




## Sample Code Snippets:
### UPI Txn - Intent Mandate:

#### Request Code Snippet:

```request
{
    "requestId": "eee6f65e-23dc-42e1-ad7c-ec3cddd64ac9",
    "service": "in.juspay.hyperapi",
    "payload": {
        "action": "upiTxn",
        "orderId": "hyperorder45314",
        "upiSdkPresent": true,
        "payWithApp": "com.phonepe.app",
        "displayNote": "UPI Intent Mandate",
        "clientAuthToken": "tkn_0e37edc631d647fdb606ab48ccfc4213",
        "shouldCreateMandate": true,
        "showLoader": true
    }
}
```

### UPI Txn - Intent Mandate:

#### Response:
```json
{
    "requestId": "eee6f65e-23dc-42e1-ad7c-ec3cddd64ac9",
    "service": "in.juspay.hyperapi",
    "payload": {
        "action": "upiTxn",
        "status": "CHARGED",
        "orderId": "hyperorder45314"
    },
    "error": false,
    "errorCode": "",
    "errorMessage": ""
}
```

