# POST /debit/api/attachCardAccount

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

Attaches a debit card to an account using details like IBAN, account number, branch, suffix, type, and alias. Returns the record ID of the attachment.

**Part of:**

- <a href="https://apiportal.dgpays.com/journeys/launch#s-debit" target="_parent">Journey 01 · Launching a new card product</a> — step 3, Link more accounts

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

