Cards
Reveal card details
POST
https://api.firstleeward.com/v0/cards/:id/revealGenerates a short-lived URL to securely display card details (PAN, CVV, expiry) in an iframe or WebView. The URL is valid for 5 minutes and is single-use. Do not store, log, or expose this URL beyond the immediate display context.
Authorizations
Authorizationstring · headerrequiredAPI key as Bearer token, e.g. Bearer YOUR_API_KEY
Headers
Leeward-Versionenum<string>requiredAPI version (YYYY-MM-DD). Available option: 2026-09-18
Path Parameters
idstring<uuid>requiredBody
application/json
stylesheetUrlstring<uri> | nulldefault: nullURL to a custom stylesheet for the card details iframe
showCopyPanButtonbooleandefault: falseDisplay copy PAN button in the iframe
Response
200Card reveal response
revealUrlstring<uri>requiredURL to load in an iframe or WebView to display card details (PAN, CVV, expiry). Valid for 5 minutes. Do not store or expose this URL beyond the immediate display context.
expiresAtstring<date-time>requiredISO 8601 expiration timestamp for the reveal URL
400Card operation not allowed in current status
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired404Card not found
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired