---
page_source: https://docs.juspay.io/upi-inapp/android/headless-process-payloads/deregister
page_title: Deregister
---


## Deregister



This api will be used for deregistering the customer from UPI SDK. Removing the device binding, deleting the link between all the VPAs and accounts.


###   Process Parameters



## Request Payload
- **RequestId**:
  - Description: Unique uuid-v4 string
  - Value: <p>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: upiDeregister
      - Tags: String, Mandatory
    - **UdfParameters**:
      - Description: Stringified json for udf parameters
      - Tags: String, Optional
  - 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: Operation performed in the SDK
      - Value: upiDeregister
      - Tags: String, Mandatory
    - **Status**:
      - Description: Status of the API
      - Value: SUCCESS/FAILURE
      - Tags: String, Mandatory
    - **CustomerMobileNumber**:
      - Description: Customer Mobile Number
      - Tags: String, Mandatory
    - **OtherInfo**:
      - Tags: String, Optional
  - 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
{
	"requestId" : "f7443c1d-9acb-4b3d-9ae5-0e3c33dfcf5b",
	"service" : "in.juspay.hyperapi",
	"payload" : {
    "action" : "upiDeregister",
  }
}
```

#### Kotlin Code Snippet:

```kotlin
{
	"requestId" : "f7443c1d-9acb-4b3d-9ae5-0e3c33dfcf5b",
	"service" : "in.juspay.hyperapi",
	"payload" : {
    "action" : "upiDeregister",
  }
}
```


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

#### Request Code Snippet:

```request
{
	"requestId" : "f7443c1d-9acb-4b3d-9ae5-0e3c33dfcf5b",
	"service" : "in.juspay.hyperapi",
	"payload" : {
    "action" : "upiDeregister",
  }
}
```

### Response snippets:

#### Response:
```plaintext
{  
  "service": "in.juspay.inappupi", 
  "requestId": "adf6ad79-70c0-49ca-98bb-a04ead12cc0f", 
  "payload": { 
    "status": "SUCCESS", 
    "otherInfo": "{}", 
    "customerMobileNumber": "911234567893",
    "action": "upiDeregister" 
  }, 
  "event": "process_result",
  "errorMessage": "", 
  "errorCode": "", 
  "error": false 
}
```

