---
page_title: Payload
product: HyperCredit
platform: Web
page_source: https://juspay.io/in/docs/hyper-credit/web/hyper-explorer/payload
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/hyper-credit/llms.txt
---


# Payload




#### 1. Payload for (Exploration)



Process payload to start the widget:


| Field | Type | Description | Mandatory |
|---|---|---|---|
| merchantId | String | Juspay Identifier for the merchant. | Yes |
| clientId | String | Juspay Identifier for the UI. Generally same as the merchant id. | Yes |
| amount | String | Product amount | Yes |
| integrationType | Enum | Iframe |  |
| widgetDivId | String | id of Div where you want to load the widget highlighting that emi plans and offers are available to the user. Pass it as null in case you are directly opening exploration page. // not required in case of android | Yes |
| explorerDivId | String | Div Id where you want to load the exploration page. // not required in case of android | No |
| fragmentViewGroups | Object | Where widget needs to be displayed //(need it in case of android) | No |
| customerId | String | customerId -  In case the customerId is not passed, the user will not be able to see the personalised plans. In case of no customerId, it will be considered as non-logged in user. customerId is mandatory in case of logged in customers.  | No |
| clientAuthToken | String | Requires to authenticate the user. Needs to send in case of logged in user. It requires when not using signature | Yes |
| customerPhone | String | Customer mobile number. | No |
| merchantKeyId | String | Unique identifier against which merchant’s public key is stored with Juspay. Can be fetched from Juspay Dashboard. Login>EC Operations>Settings>Security>RSA Key Requires when using signature. | No |
| basket | Stringfied Array of Basket Object |  | No |
| requestId | String | RequestId for Widget | Yes |
| action | String/Enum | startwidget | startexplorer  startwidget -  action needs to be passed to show widget on the product/cart page startexplorer -  action needs to be passed if the user needs to directly open the exploration page. | Yes |



#### **Basket Object:** 




| Field | Type | description | Mandatory |
|---|---|---|---|
| id | String | The unique id of the item that is intended for the offer/EMI | No |
| brand | String | The brand of the product | No |
| category | String | The category of the product. Eg: Electronics | No |
| sub_category | String | The sub category of the product. | No |
| product_name | String | The name of the product | No |
| product_price | Double | The price of the individual product | Yes |
| total_amount | Double | The total amount that is to be paid by customer for this individual product | No |
| unit | Double | The number of items against a particular product | Yes |
| expected_emi_plans | Stringfied Array of Expected EMI plans Object | EMI plans that will be displayed in widget | No |
| description | String | The description of the product | No |



#### 2. Expected EMI Plans (Exploration)




| Field | Type | description | Mandatory |
|---|---|---|---|
| emi_type | String | Emi Plan categories that can be displayed in a widget. Eg - NO_COST_EMI | Yes |


This payload needs to passed to start the exploration Journey:


#### Sample process payload (Exploration) Code Snippet:

```sample process payload (exploration)
{
        "action": "startWidget",
        "merchantId": "testcredit",
        "clientId": "testcredit",
        "amount": "10000.00",
        "integrationType": "iframe",
        "customerId": "weqifh34hyuebuhb343214e",
        "clientAuthToken" : "fdwjf9einwqowoqnfiwnqiojeowfqwefqwfdfasfdsa",
        "customerPhone": "9742836018",
        "merchantKeyId": "25588",
        "environment": "sandbox",
        "requestId": "dfa91ba9-0f07-45b1-88f8-905cb4fc52a0"
}

```


---

## See Also

- [Terminate (Optional)](https://juspay.io/in/docs/hyper-credit/web/hyper-explorer/terminate-optional)
- [Handling callbacks](https://juspay.io/in/docs/hyper-credit/web/hyper-explorer/handling-callbacks)
