Skip to main content
POST
Reveal card details

Authorizations

Authorization
string
header
required

API token authentication using format <api token id>:<api client secret>

Path Parameters

id
string
required

System-generated unique card identifier

Body

application/json

Optional overrides for one reveal. Omit the body entirely to use your platform's configured settings.

cssUrl
string<uri> | null

HTTPS URL of a stylesheet for this reveal only, overriding cardConfigs.panRevealCssUrl for this call without changing your platform config. Use it to style one reveal differently from the rest — to match the cardholder's light or dark theme, for example. Subject to the same rules as the platform-level setting: it must be reachable over HTTPS without credentials, it styles the same selectors, and it loads into the page rendering the live card details, so host it somewhere you would trust with them. Omit the field, or send null, to fall back to your platform config.

Maximum string length: 512
Pattern: ^https://[^@]*$
Example:

"https://acme.com/card-reveal-dark.css"

Response

Reveal URL minted.

panEmbedUrl
string<uri>
required

Signed URL of the card processor's iframe that securely displays the PAN, CVV, and expiry to the cardholder. The full PAN and CVV never cross Grid's servers — render this URL in an iframe in your client to reveal card details. The URL is a short-lived bearer secret: render it immediately and never store, cache, or log it.

Example:

"https://embed.lithic.com/iframe/...?t=..."

expiresAt
string<date-time>
required

When the signed URL stops loading. Request a new reveal rather than re-rendering an expired URL.

Example:

"2026-05-08T14:16:00Z"