# POST /credit/api/attachCardAccount

**Resource:** [Account linking](../resources/Account-linking.md)
**Service that links an account to a card**
**Operation ID:** `attachCardAccount`

Provides methods to attach, deattach, and list card accounts for a customer. Includes operations for attaching an account to a card, removing it, recreating multiple accounts, and listing accounts by shadow card number or account number.

## Request Body

Attach Card Account Request

**Required:** Yes

**Content Types:** `application/json`

**Schema:** [AttachCardAccountRequest](../schemas/Attach/AttachCardAccountRequest.md)

## Responses

| Status | Description |
|--------|-------------|
| 200 | Success |
| 400 | (reference) |
| 404 | (reference) |
| 500 | (reference) |

**Success Response Schema:**

[AttachCardAccountResponse](../schemas/Attach/AttachCardAccountResponse.md)

