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 Params
string
required

The short-lived credential returned by the session creation endpoint. Treat it as
sensitive and use it only in the iframe src.

string
enum
required

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.

Allowed:
string
length ≤ 4096

Optional base64-encoded JSON object containing CSS property and value pairs 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.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/html
application/json