---
title: "Card Link token"
method: GET
path: "/entity/{entityId}/cardLinkToken"
tags: ["entity > payment-method"]
---

# Card Link token

`GET /entity/{entityId}/cardLinkToken`

## Request

- Base URL: `https://api.mercoa.com`
- URL: `https://api.mercoa.com/entity/{entityId}/cardLinkToken`
- Auth: HTTP bearer

Get a card link token for an entity. This token is used by the frontend components to generate a PCI compliant form to add a card to the entity.

## Path parameters

- `entityId` string, required

## Response `200`

Response with status 200

- EntityTypesCardLinkTokenResponse
  - `token` string, required
  - `accountId` string, required

## Other responses

- `400`: Error response with status 400
- `401`: Error response with status 401
- `403`: Error response with status 403
- `404`: Error response with status 404
- `409`: Error response with status 409
- `500`: Error response with status 500
- `501`: Error response with status 501

---

[API](https://skmtc.dev/mercoa/apis/mercoa-2.md) - [All operations](https://skmtc.dev/mercoa/apis/mercoa-2/llms.txt) - [OpenAPI document](https://skmtc.dev/mercoa/apis/mercoa-2/revisions/00a8e403ae18?raw)
