Reveal card details
Changed onWhen the card's cardCapabilities.supportsPanReveal is true, mint a signed, short-lived URL for the card processor's iframe that displays the card's full PAN, CVV, and expiry to the cardholder. The Card resource never carries a reveal URL.
When cardCapabilities.supportsPanReveal is false, this endpoint cannot reveal the card. Use the card issuer's challenge-based hosted reveal flow instead.
Request the reveal right before rendering the iframe and render the returned panEmbedUrl immediately; it expires at expiresAt (within minutes). Never store, cache, or log the URL — it is a bearer secret for the full card details. The card data renders inside the processor's iframe and never crosses Grid's or your servers.
Set cardConfigs.panRevealCssUrl on your platform config to style the iframe with your own stylesheet, or send cssUrl in the body to override it for one reveal.
Every reveal is audit-logged with the requesting actor.
Request
- Base URLhttps://api.lightspark.com/grid/2025-10-13
- URLhttps://api.lightspark.com/grid/2025-10-13/cards/{id}/reveal
- AuthHTTP basic
Request body
Example request
{
"cssUrl": "https://acme.com/card-reveal-dark.css"
}Response
Reveal URL minted.
Example response
{
"panEmbedUrl": "https://embed.lithic.com/iframe/...?t=...",
"expiresAt": "2026-05-08T14:16:00Z"
}Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- warning
added the new
CORRIDOR_UNDER_MAINTENANCEenum value to theresponse property for the response status
- warning