Retrieves and decrypts sensitive card information
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>"
}Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
default response
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>"
}