# POST /Indoor/api/attachDebitCardAccount

**Resource:** [Card lifecycle](../resources/Card-lifecycle.md)
**Service that links an account to a card**
**Operation ID:** `attachDebitCardAccount`

Attaches a debit card to a bank account using account details including branch, type, suffix, number, shadow card number, alias, and IBAN. Converts request and response between internal and service contracts.

## Request Body

Attach Debit Card Account Request

**Required:** Yes

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

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

## Responses

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

**Success Response Schema:**

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

