# Cards

Manage cards stored on customer objects.

 - [POST /customers/{customerId}/cards](https://matterhorn-api.redocly.app/docs/api/shift4-gateway/cards/createcard.md): Adds a new card to an existing customer. There are three ways to create a new card object: use a card token (for example obtained from Components), use a charge identifier (saves the card that was us
 - [GET /customers/{customerId}/cards](https://matterhorn-api.redocly.app/docs/api/shift4-gateway/cards/listcards.md): Returns a list of cards belonging to a customer. The cards are returned in sorted order, with the most recently created appearing first.
 - [GET /customers/{customerId}/cards/{cardId}](https://matterhorn-api.redocly.app/docs/api/shift4-gateway/cards/getcard.md): Retrieves the details of a card that belongs to a customer.
 - [POST /customers/{customerId}/cards/{cardId}](https://matterhorn-api.redocly.app/docs/api/shift4-gateway/cards/updatecard.md): Updates the specified card. Any parameters not provided are left unchanged.
 - [DELETE /customers/{customerId}/cards/{cardId}](https://matterhorn-api.redocly.app/docs/api/shift4-gateway/cards/deletecard.md): Deletes an existing card object. If you delete the card that is the current default card, the most recently added card is used as the new default card. If you delete the last card, the default card is
