# POST /credit/api/recreateCustomerCardAccount

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

Recreates all card accounts for a customer's credit card. Accepts a list of card account details (account number, suffix, type, alias, branch, FEC code, IBAN, record ID, and currency code) and sets their ValidFlag to true. The service replaces existing accounts for the given ShadowCardNumber with the provided list through the lifecycle service.

## Request Body

Recreate Customer Card Accounts Request

**Required:** Yes

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

**Schema:** [RecreateCustomerCardAccountsRequest](../schemas/Recreate/RecreateCustomerCardAccountsRequest.md)

## Responses

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

