> ## Documentation Index
> Fetch the complete documentation index at: https://docs.malga.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Listar cartões vinculados

> API SDK Documentação - Customers

Liste os cartões vinculados ao cliente.

### Método

<Tabs>
  <Tab title="Node.js">
    ```typescript theme={null}
    import { Malga } from 'malga'

    const malga = new Malga({
      apiKey: '17a64c8f-a387-4682-bdd8-d280493715e0',
      clientId: 'd1d2b51a-0446-432a-b055-034518c2660e',
    })

    await malga.customers.cards('2c48166b-51fe-4d8d-a450-1385df8a95b9')
    ```
  </Tab>
</Tabs>

<Tabs>
  <Tab title="Response">
    ```typescript theme={null}
    [
      {
        id: '290d6f2e-7860-4722-b461-fcc9c27a7ca6',
        status: 'active',
        createdAt: '2023-12-31T03:00:00.000Z',
        clientId: '9c80a722-30dd-4bc1-9270-20d505671d1a',
        customerId: '2c48166b-51fe-4d8d-a450-1385df8a95b9',
        brand: 'Mastercard',
        cardHolderName: 'João da Silva',
        cvvChecked: true,
        fingerprint: '/cddsad2sgTXxfNhdsadasdas2QSLsJ/dsadsadcxc=',
        first6digits: '545388',
        last4digits: '7600',
        expirationMonth: '10',
        expirationYear: '2030',
      }
    ]
    ```
  </Tab>
</Tabs>

### Parâmetros

Lista de todos os parâmetros suportados pelo método.

<ParamField path="id" type="string" required>
  ID do cliente
</ParamField>
