---
title: Deactivate - Account Binding Paylater API
slug: en/nicepay-api-non-snap-advance-deactivate-account-binding-api-paylater-api
description: Information about Non-SNAP Advance Deactivate - Account Binding Paylater API available on NICEPAY system
image: https://archbee-image-uploads.s3.amazonaws.com/ZHvSjR5ZrsoxwKbJa3xmo/VLtEtjYZE-1L3CNOOCmZA_nicepay-docs-logo.png
icon: {"faIcon":"fa-solid fa-book"}
docTags: 
createdAt: 2025-11-05T06:23:38.055Z
---

# About Deactivate - Account Binding Paylater API

***

This API uses by the Merchant to inactivate user token through NICEPAY. Then, NICEPAY will forward the user token inactivation process to the Partner's system.

:::hint{type="info"}
Deactivate (Account Binding API Paylater) can currently only be used in the Paylater process specific for Kredivo Partner.
:::



# Deactivate User Token - Account Binding Paylater API

***

| **API Endpoint**   | `/nicepay/direct/v2/remove-token`                                  |
| ------------------ | ------------------------------------------------------------------ |
| **Request Method** | <font color="#3b9f0f">**POST**</font>****                          |
| **Merchant Token** | **SHA256** (`timestampTrx` + `iMid` + `userToken` + `merchantKey`) |
| **Request Format** | `application/JSON`                                                 |



## Request Parameter for Deactivate User Token - Account Binding Paylater API

***

| **Parameter**   | **Type** | **Length** | **Required** | **Description**       | **Example / Notes**                                              |
| --------------- | -------- | ---------- | ------------ | --------------------- | ---------------------------------------------------------------- |
| `timeStamp`     | N        | 14         | Mandatory    | API Request Timestamp | 20210913100917                                                   |
| `userToken`     | AN       | 50         | Mandatory    | Partner User Token    | e0478456-6b50-460c-85e0-627a1e22d2e0                             |
| `merchantToken` | AN       | 255        | Mandatory    | Merchant Token        | 1d5b53fb0fe98f32088efd04fabc93cabb0ea3e75f1f2ef75aaa0917d565abf0 |
| `iMid`          | AN       | 10         | Mandatory    | Merchant ID           | PAYLOANTES                                                       |



## Response Parameter for Deactivate User Token - Account Binding Paylater API

***

| **Parameter** | **Type** | **Length** | **Description**           | **Example / Notes**                  |
| ------------- | -------- | ---------- | ------------------------- | ------------------------------------ |
| `resultCd`    | N        | 4          | Result Code               | 0000                                 |
| `resultMsg`   | AN       | 255        | Result Message            | Success                              |
| `userToken`   | AN       | 50         | Partner User Token        | e0478456-6b50-460c-85e0-627a1e22d2e0 |
| `tokenStatus` | N        | 1          | Partner User Token Status | `0`: Inactive                        |
| `description` | AN       | 100        | Account Status            | 12345678Deactivated by merchant      |



## Sample Parameter for Deactivate User Token - Account Binding Paylater API

:::CodeblockTabs
Response Parameter

```json
{
   "resultCd": "0000",
   "resultMsg": "SUCCESS",
   "billingNm": "non-prod",
   "billingPhone": "+62-821****3300",
   "accountStatus": "1",
   "accountType": "2",
   "limitDetails": [
      {
         "paymentType": "12_months",
         "remainingUserLimit": "29949710.00",
         "totalUserLimit": "30000000.00"
      },
      {
         "paymentType": "30_days",
         "remainingUserLimit": "3449710.00",
         "totalUserLimit": "3500000.00"
      },
      {
         "paymentType": "3_months",
         "remainingUserLimit": "9649130.00",
         "totalUserLimit": "9800000.00"
      },
      {
         "paymentType": "6_months",
         "remainingUserLimit": "18338977.60",
         "totalUserLimit": "18600000.00"
      }
   ]
}
```

Response Parameter

```json
{
   "resultCd": "9920",
   "resultMsg": "Error get User Details: Invalid user_token"
}
```
:::



# Deactivate From App Notification - Account Binding Paylater API

***

| **API Endpoint**   | Merchant Endpoint<br />example: [https://merchant.com/deactivateTokenNotif](https://merchant.com/deactivateTokenNotif)                                                                                                                                       |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Request Method** | <font color="#3b9f0f">**POST**</font>****                                                                                                                                                                                                                    |
| **Description**    | User may deactivate their tokenized account from the Partner app. Push notification will be sent to inform respective Merchant to invalidate user token.<br /> <br />***Please contact your NICEPAY PIC to register your push notification endpoint URL.***  |
| **Merchant Token** | **SHA256&#x20;**(`iMid` + `userToken` + `clientUserKey` + `merKey`)                                                                                                                                                                                          |
| **Request Format** | `application/JSON`                                                                                                                                                                                                                                           |



## Notification Parameter for Deactivate From App Notification - Account Binding Paylater API

| **Parameter**   | **Type** | **Length** | **Description**                             | **Example / Notes**                                              |
| --------------- | -------- | ---------- | ------------------------------------------- | ---------------------------------------------------------------- |
| `clientUserKey` | AN       | 100        | User Key, must be unique for each Customer. | 23124532                                                         |
| `userToken`     | AN       | 50         | Partner User Token                          | e0478456-6b50-460c-85e0-627a1e22d2e0                             |
| `merchantToken` | AN       | 255        | Merchant Token                              | 1d5b53fb0fe98f32088efd04fabc93cabb0ea3e75f1f2ef75aaa0917d565abf0 |
| `iMid`          | AN       | 10         | Merchant ID                                 | PAYLOANTES                                                       |
| `message`       | AN       | 50         | Message                                     | Token Invalidated                                                |



## Sample Notification for Deactivate From App Notification - Account Binding Paylater API

***

:::CodeblockTabs
Sample Notification

```json
{
  "clientUserKey": "23124532",
  "userToken": "e0478456-6b50-460c-85e0-627a1e22d2e0",
  "merchantToken": "6cfccfc0046773c1b589d8e98f8b596c284f3c70a4ecf86eba14c18944b74bcd",
  "iMid": "IONPAYTEST",
  "message": "Token Is Deactived"
}
```
:::

