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

# Obtener datos sensibles de la tarjeta

> Este endpoint obtiene los datos sensibles de la tarjeta, incluyendo el número completo y el CVV (requiere session id por seguridad)

### Parámetros

<ParamField path="cardId" type="string" required>
  El identificador único de la tarjeta
</ParamField>

### Encabezados

<ParamField header="session-id" type="string" required>
  Un session id válido para autenticación y seguridad. Garantiza que los datos sensibles de la tarjeta solo se accedan durante una sesión activa y autenticada.
</ParamField>

### Respuesta

<ResponseField name="success" type="boolean">
  Indica si la operación fue exitosa
</ResponseField>

<ResponseField name="cardNumber" type="string">
  El número completo de la tarjeta (dato sensible PCI)
</ResponseField>

<ResponseField name="cvv" type="string">
  El código CVV/CVC de la tarjeta
</ResponseField>

<ResponseField name="expirationMonth" type="string">
  Mes de vencimiento de la tarjeta (MM)
</ResponseField>

<ResponseField name="expirationYear" type="string">
  Año de vencimiento de la tarjeta (YYYY)
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --location --request GET 'https://stablecoin-api.sandbox.getmeru.com/api/v1/cards-program/cards/7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d/secrets' \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --header 'session-id: <session-id>'
  ```

  ```js Javascript theme={null}
  const response = await fetch('https://stablecoin-api.sandbox.getmeru.com/api/v1/cards-program/cards/7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d/secrets', {
    method: 'GET',
    headers: {
      'Content-Type': 'application/json',
      'api-key': '<api-key>',
      'session-id': '<session-id>'
    }
  });

  const data = await response.json();
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "cardNumber": "4242424242424242",
    "cvv": "123",
    "expirationMonth": "12",
    "expirationYear": "2027"
  }
  ```
</ResponseExample>

### Respuestas de error

<ResponseExample>
  ```json 401 theme={null}
  {
    "success": false,
    "error": "Unauthorized. Please check your authentication credentials."
  }
  ```

  ```json 400 theme={null}
  {
    "success": false,
    "error": "Session ID header is required"
  }
  ```

  ```json 404 theme={null}
  {
    "success": false,
    "error": "Card not found."
  }
  ```
</ResponseExample>

### Nota de seguridad

Este endpoint devuelve datos del titular altamente sensibles. Asegúrate de que:

* Tengas una sesión válida y activa
* Toda la comunicación sea sobre HTTPS
* Los datos se manejen de forma compatible con PCI
* Los session id se gestionen correctamente y expiren de forma adecuada
