# POST /debit/api/modifyCardAccount

**Resource:** [Account linking](../resources/Account-linking.md)
**Service that updates the account linked to a card**
**Operation ID:** `modifyCardAccount`

Modifies an existing card account linked to a shadow card. Updates account details including alias, branch, suffix, type, IBAN, FEC code, and order flag. Returns the updated record ID.

## Request Body

Modify Card Account Request

**Required:** Yes

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

**Schema:** [ModifyCardAccountRequest](../schemas/Modify/ModifyCardAccountRequest.md)

## Responses

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

**Success Response Schema:**

[ModifyCardAccountResponse](../schemas/Modify/ModifyCardAccountResponse.md)

