---
title: "Link Card And account"
method: POST
path: "/pws/pws_link_card_acc/"
tags: ["Card"]
---

# Link Card And account

`POST /pws/pws_link_card_acc/`

This web service allows to link card and accounts.

## Request body

- LinkAccountCardModel
  - `ac_id` integer, required — account Id
  - `action` integer, required — <p>action type :</p> <ul> <li class="docBullet">0 ==&gt; Link card and account</li> <li class="docBullet">1 ==&gt; Unlink card and account</li> </ul>
  - `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
  - `token` integer, required — Public token for the card
  - `user_id` string — User Id of the Customer who triggered the API request.
  - `remarks` string — Remarks for API request

## Response `200`

Successful Response

- LinkAccountCardResponseModel
  - `header` LinkAccountCardResponseModelHeader
    - `error_id` integer — error id
    - `error_desc` string — error message
  - `body` LinkAccountCardResponseModelBody
    - `token` integer — Public token
    - `ac_id` integer — account id

## 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)
