---
page_title: Get SIM Details
product: UPI TPAP SDK
platform: React Native
page_source: https://juspay.io/in/docs/upi-tpap-sdk/react-native/headless-process-payloads/get-sim-details
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/upi-tpap-sdk/llms.txt
---


## Get SIM Details



This operation will provide the merchant to get Sim Details

> **Note**
> As iOS has stopped providing us the sim details, there will be a default 2 sims in the response of upiGetSimDetails. However in android, there will the exact number of sims which are presented in the device.




###   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: upiGetSimDetails
      - 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: Contains Action (upiGetSimDetails)
      - Value: upiGetSimDetails
      - Tags: String, Mandatory
    - **Status**:
      - Description: If upiGetSimDetails call was successful or failure
      - Value: SUCCESS/FAILURE
      - Tags: String, Mandatory
    - **SimDetails**:
      - Description: Contains Sim details i.e id, provider, simSerialNo, phoneNo(optional)
      - Value:
        - **Id**:
          - Description: SIM ID
          - Tags: String, Mandatory
        - **Provider**:
          - Description: Provider Name
          - Value: Example: JIO
          - Tags: String, Mandatory
        - **SimSerialNo**:
          - Description: Sim Serial Number
          - Tags: String, Mandatory
      - Tags: Array of JSON, Mandatory
  - 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
{"success":false,"message":"Failed to fetch snippet"}
```

#### Kotlin Code Snippet:

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


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

#### Request Code Snippet:

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

### Response snippets:

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



---

## Complete Code Reference

The following code files are referenced in the steps above:

### InappHeadless.txt

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


---

## See Also

- [Check Permission](https://juspay.io/in/docs/upi-tpap-sdk/react-native/headless-process-payloads/check-permission)
- [Get Permission](https://juspay.io/in/docs/upi-tpap-sdk/react-native/headless-process-payloads/get-permission)
