Skip to main content
POST
/
v1
/
cards
/
{cardId}
/
reveal
Reveal card data
curl --request POST \
  --url https://api.light.inc/v1/cards/{cardId}/reveal \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json;charset=UTF-8' \
  --data '{
  "encryptedKey": "<string>"
}'
{
  "encryptedData": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.

Path Parameters

cardId
string<uuid>
required

Body

application/json;charset=UTF-8
encryptedKey
string

Response

default - application/json;charset=UTF-8

default response

encryptedData
string
I