Skip to content

Retrieve Secret

Retrieve the Tokenization Decisioning HMAC secret key
get/v1/tokenization_decisioning/secret

Retrieve the Tokenization Decisioning secret key. If one does not exist your program yet, calling this endpoint will create one for you. The headers of the Tokenization Decisioning request will contain a hmac signature which you can use to verify requests originate from Lithic. See this page for more detail about verifying Tokenization Decisioning requests.

Returns
secretstringTokenizationSecret
Request example Request
curl https://api.lithic.com/v1/tokenization_decisioning/secret \
    -H "Authorization: $LITHIC_API_KEY"
200 Example
{
  "secret": "whsec_1NDsYinMGr951KuDEaj78VtWzlyPaOnwUVagFiWIPJs="
}