Digital wallet tokenization — manage tokens, art, and decisioning webhooks.
Tokenization Decisioning
Lithic calls your endpoint when a card is being added to a digital wallet. You approve or decline the tokenization request.
secret = Lithic.Tokenization.get_decisioning_secret()
Lithic.Webhook.verify(body, sig, ts, secret: secret["secret"])
Summary
Functions
Get a specific tokenization by token.
Retrieve HMAC secret for Tokenization Decisioning webhook verification.
List tokenizations for a card.
Resend the activation code for a tokenization.
Rotate the Tokenization Decisioning HMAC secret.
Simulate a card tokenization (sandbox only).
Update the digital card art associated with a tokenization.
Functions
@spec activate( String.t(), keyword() ) :: {:ok, map()} | {:error, Lithic.Error.t()}
@spec deactivate( String.t(), keyword() ) :: {:ok, map()} | {:error, Lithic.Error.t()}
@spec get( String.t(), keyword() ) :: {:ok, map()} | {:error, Lithic.Error.t()}
Get a specific tokenization by token.
@spec get_decisioning_secret(keyword()) :: {:ok, map()} | {:error, Lithic.Error.t()}
Retrieve HMAC secret for Tokenization Decisioning webhook verification.
@spec get_digital_card_art( String.t(), keyword() ) :: {:ok, map()} | {:error, Lithic.Error.t()}
@spec list( String.t(), keyword() ) :: {:ok, Lithic.Page.t(map())} | {:error, Lithic.Error.t()}
List tokenizations for a card.
@spec list_digital_card_art(keyword()) :: {:ok, Lithic.Page.t(map())} | {:error, Lithic.Error.t()}
@spec pause( String.t(), keyword() ) :: {:ok, map()} | {:error, Lithic.Error.t()}
@spec resend_activation_code(String.t(), map(), keyword()) :: {:ok, map()} | {:error, Lithic.Error.t()}
Resend the activation code for a tokenization.
@spec rotate_decisioning_secret(keyword()) :: {:ok, map()} | {:error, Lithic.Error.t()}
Rotate the Tokenization Decisioning HMAC secret.
@spec simulate( map(), keyword() ) :: {:ok, map()} | {:error, Lithic.Error.t()}
Simulate a card tokenization (sandbox only).
@spec unpause( String.t(), keyword() ) :: {:ok, map()} | {:error, Lithic.Error.t()}
@spec update_digital_card_art(String.t(), map(), keyword()) :: {:ok, map()} | {:error, Lithic.Error.t()}
Update the digital card art associated with a tokenization.