Get card embed iframe
Returns a Lithic-hosted HTML document for a single card detail or PIN setting control. Use the URL, including its query parameters, as the src of an iframe. The session must be created on your server with POST /v1/cards/{card_token}/embed.
Query parameters
The short-lived credential returned by the session creation endpoint. Treat it as sensitive and use it only in the iframe src.
The type of embed to return. CARD_EMBED sessions support PAN, CVV, EXP_MONTH, and EXP_YEAR. PIN_SETTING_EMBED sessions support only PIN_SETTING.
Optional base64-encoded JSON object containing base CSS declarations and nested pseudo-class declarations to apply to the iframe. URL-encode the base64 value when adding it to the query string. Styles that load external resources are not permitted. The encoded value cannot exceed 4096 characters.
Supported pseudo-classes are :enabled, :read-write, :read-only, :placeholder-shown, :valid, :invalid, :disabled, :hover, :focus-within, :focus, :focus-visible, and :active.
Response
Lithic-hosted card embed HTML.