Skip to content

Retrieve Secret

Retrieve the 3DS Decisioning HMAC secret key
get/v1/three_ds_decisioning/secret

Retrieve the 3DS Decisioning HMAC secret key. If one does not exist for your program yet, calling this endpoint will create one for you. The headers (which you can use to verify 3DS Decisioning requests) will begin appearing shortly after calling this endpoint for the first time. See this page for more detail about verifying 3DS Decisioning requests.

Returns
secretstring
optional

The 3DS Decisioning HMAC secret

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