---
title: "Mada Token LCM"
method: POST
path: "/pws/pws_mada_token_lcm"
tags: ["Mada Pay LCM"]
---

# Mada Token LCM

`POST /pws/pws_mada_token_lcm`

Mada Token LCM

## Request body

- TokenLcmInternal
  - `api_call_unique_identifier` string, required — Unique number that must be passed at each API request. Identifier to make each API request unique
  - `client_id` integer, required — Unique identifier for the client which Paymentology will provide at outset
  - `user_id` string — User Id of the Customer who triggered the API request.
  - `remarks` string — Remarks for API request
  - `token` integer
  - `operationReason` 'USER_DECISION' | 'ISSUER_DECISION' | 'TSP_DECISION' | 'DEVICE_LOST' | 'DEVICE_STOLEN' | 'FRAUDULENT_TOKEN_TRANSACTION' | 'DEVICE_RECOVERED' | 'ACCOUNT_CLOSED' | 'OTHER'
  - `operationType` 'DELETE' | 'SUSPEND' | 'RESUME' | 'ACTIVATE' | 'REPERSO' | 'ERASE' | 'TOKEN_DEVICE_BINDING_APPROVE' | 'TOKEN_DEVICE_BINDING_REMOVE' | 'TOKEN_TRUSTED_LISTING_ADD' | 'TOKEN_TRUSTED_LISTING_REMOVE'
  - `commentText` string

## Response `200`

Successful Response

- ResponseTokenLcm
  - `header` Header
    - `error_desc` string, required — Error Description
    - `error_id` integer, required — Error Id
  - `body` TokenLcmResponse
    - `errorCode` string — Business Error - length 2
    - `tokens` Token[] — Tokens
      - `tokenReferenceId` string — Unique ID for the Token associated with the PAN
      - `commentId` string — Identifier of the comment added. Only present when comment text was provided in the request.
      - `taskID` string — GUID with hyphens.
      - `tokenRequestorID` string — Unique ID assigned to the initiator of the token request.
      - `panReferenceID` string — Unique ID for the PAN.
      - `statusCode` 'PENDING' | 'FAILURE' | 'NOT_ALLOWED' — Action status codes. Values are: - PENDING - FAILURE - NOT_ALLOWED
      - `errorCode` string — Business error.

## Other responses

- `404` — Webservices does not exist
- `500` — Internal Server error

---

[API](https://skmtc.net/paymentology/apis/payapi-docs.md) · [All operations](https://skmtc.net/paymentology/apis/payapi-docs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paymentology/payapi-docs/revisions/a675891b0365/schema)
