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

# Get a card iframe

> Get a short-lived iframe URL for displaying a card's sensitive details.

Returns a PCI-compliant URL that can be embedded in an `<iframe>` to securely display a card's sensitive details (card number, CVV, expiration date) without those values ever passing through your servers.

The URL expires after a short time, so request a new one each time you display the card.

You can only generate an iframe for a card your platform created. A card issued by the entity's staff in the Lemma app returns a 404.

## Path parameters

<ParamField path="card_id" type="string" required>
  The ID of the card, prefixed with `card_`.
</ParamField>

## Response

<ResponseField name="iframe_url" type="string">
  The URL to embed in an iframe.
</ResponseField>

<ResponseField name="expires_at" type="string">
  [ISO 8601](/api-reference/timestamps) timestamp of when the iframe URL expires.
</ResponseField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "iframe_url": "https://increase.com/iframes/card_details/ifr_04text7hcbjtjs4wo3ig",
    "expires_at": "2026-04-10T15:00:00Z"
  }
  ```

  ```json 404 theme={null}
  {
    "statusCode": 404,
    "error": "Not Found",
    "message": "Card not found"
  }
  ```
</ResponseExample>
