---
page_title: Sample Payloads
product: EC Headless
platform: Android
page_source: https://juspay.io/in/docs/ec-headless/android/resources/sample-payloads
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/ec-headless/llms.txt
---


## Sample Payloads



Refer to the below sample payloads based on your use-case


### isInitialised



Checks if current HyperSDK has been initialised. It should be used to check the HyperSDK instance state before calling process API.


#### Shell Code Snippet:

```shell
/**
Checks if current sdk instance has been initialised.
*/
public boolean isInitialised;


//Example usage
if (hyperServices.isInitialised()) {
    hyperServices.process(processPayload);
} else {
  //Intialise hyperInstance
}
```



### UUID



Sample snippets to generate uuid-v4 string. Used in HyperSDK as [requestId]


#### Shell Code Snippet:

```shell

# Please scroll down for a sample snippets to generate uuid-v4 string. Used in HyperSDK as [requestId]
UUID.randomUUID().toString()
```


---

## See Also

- [Transaction Status](https://juspay.io/in/docs/ec-headless/android/resources/transaction-status)
- [Refunds](https://juspay.io/in/docs/ec-headless/android/resources/refunds)
