Interface TokenizationService
-
- All Implemented Interfaces:
public interface TokenizationService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceTokenizationService.WithRawResponseA view of TokenizationService that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract TokenizationService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract TokenizationService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieve
Tokenization retrieve(String tokenizationToken)
Get tokenization
-
retrieve
Tokenization retrieve(String tokenizationToken, TokenizationRetrieveParams params, RequestOptions requestOptions)
-
retrieve
Tokenization retrieve(String tokenizationToken, TokenizationRetrieveParams params)
-
retrieve
abstract Tokenization retrieve(TokenizationRetrieveParams params, RequestOptions requestOptions)
-
retrieve
Tokenization retrieve(TokenizationRetrieveParams params)
-
retrieve
Tokenization retrieve(String tokenizationToken, RequestOptions requestOptions)
-
list
TokenizationListPage list()
List card tokenizations
-
list
abstract TokenizationListPage list(TokenizationListParams params, RequestOptions requestOptions)
-
list
TokenizationListPage list(TokenizationListParams params)
-
list
TokenizationListPage list(RequestOptions requestOptions)
-
activate
Unit activate(String tokenizationToken)
This endpoint is used to ask the card network to activate a tokenization. A successful response indicates that the request was successfully delivered to the card network. When the card network activates the tokenization, the state will be updated and a tokenization.updated event will be sent. The endpoint may only be used on digital wallet tokenizations with status
INACTIVE,PENDING_ACTIVATION, orPENDING_2FA. This will put the tokenization in an active state, and transactions will be allowed. Reach out at lithic.com/contact for more information.
-
activate
Unit activate(String tokenizationToken, TokenizationActivateParams params, RequestOptions requestOptions)
-
activate
Unit activate(String tokenizationToken, TokenizationActivateParams params)
-
activate
abstract Unit activate(TokenizationActivateParams params, RequestOptions requestOptions)
-
activate
Unit activate(TokenizationActivateParams params)
-
activate
Unit activate(String tokenizationToken, RequestOptions requestOptions)
-
deactivate
Unit deactivate(String tokenizationToken)
This endpoint is used to ask the card network to deactivate a tokenization. A successful response indicates that the request was successfully delivered to the card network. When the card network deactivates the tokenization, the state will be updated and a tokenization.updated event will be sent. Authorizations attempted with a deactivated tokenization will be blocked and will not be forwarded to Lithic from the network. Deactivating the token is a permanent operation. If the target is a digital wallet tokenization, it will be removed from its device. Reach out at lithic.com/contact for more information.
-
deactivate
Unit deactivate(String tokenizationToken, TokenizationDeactivateParams params, RequestOptions requestOptions)
-
deactivate
Unit deactivate(String tokenizationToken, TokenizationDeactivateParams params)
-
deactivate
abstract Unit deactivate(TokenizationDeactivateParams params, RequestOptions requestOptions)
-
deactivate
Unit deactivate(TokenizationDeactivateParams params)
-
deactivate
Unit deactivate(String tokenizationToken, RequestOptions requestOptions)
-
pause
Unit pause(String tokenizationToken)
This endpoint is used to ask the card network to pause a tokenization. A successful response indicates that the request was successfully delivered to the card network. When the card network pauses the tokenization, the state will be updated and a tokenization.updated event will be sent. The endpoint may only be used on tokenizations with status
ACTIVE. A paused token will prevent merchants from sending authorizations, and is a temporary status that can be changed. Reach out at lithic.com/contact for more information.
-
pause
Unit pause(String tokenizationToken, TokenizationPauseParams params, RequestOptions requestOptions)
-
pause
Unit pause(String tokenizationToken, TokenizationPauseParams params)
-
pause
abstract Unit pause(TokenizationPauseParams params, RequestOptions requestOptions)
-
pause
Unit pause(TokenizationPauseParams params)
-
pause
Unit pause(String tokenizationToken, RequestOptions requestOptions)
-
resendActivationCode
Unit resendActivationCode(String tokenizationToken)
This endpoint is used to ask the card network to send another activation code to a cardholder that has already tried tokenizing a card. A successful response indicates that the request was successfully delivered to the card network. The endpoint may only be used on Mastercard digital wallet tokenizations with status
INACTIVE,PENDING_ACTIVATION, orPENDING_2FA. The network will send a new activation code to the one of the contact methods provided in the initial tokenization flow. If a user fails to enter the code correctly 3 times, the contact method will not be eligible for resending the activation code, and the cardholder must restart the provision process. Reach out at lithic.com/contact for more information.
-
resendActivationCode
Unit resendActivationCode(String tokenizationToken, TokenizationResendActivationCodeParams params, RequestOptions requestOptions)
-
resendActivationCode
Unit resendActivationCode(String tokenizationToken, TokenizationResendActivationCodeParams params)
-
resendActivationCode
abstract Unit resendActivationCode(TokenizationResendActivationCodeParams params, RequestOptions requestOptions)
-
resendActivationCode
Unit resendActivationCode(TokenizationResendActivationCodeParams params)
-
resendActivationCode
Unit resendActivationCode(String tokenizationToken, RequestOptions requestOptions)
-
simulate
TokenizationSimulateResponse simulate(TokenizationSimulateParams params)
This endpoint is used to simulate a card's tokenization in the Digital Wallet and merchant tokenization ecosystem.
-
simulate
abstract TokenizationSimulateResponse simulate(TokenizationSimulateParams params, RequestOptions requestOptions)
-
unpause
Unit unpause(String tokenizationToken)
This endpoint is used to ask the card network to unpause a tokenization. A successful response indicates that the request was successfully delivered to the card network. When the card network unpauses the tokenization, the state will be updated and a tokenization.updated event will be sent. The endpoint may only be used on tokenizations with status
PAUSED. This will put the tokenization in an active state, and transactions may resume. Reach out at lithic.com/contact for more information.
-
unpause
Unit unpause(String tokenizationToken, TokenizationUnpauseParams params, RequestOptions requestOptions)
-
unpause
Unit unpause(String tokenizationToken, TokenizationUnpauseParams params)
-
unpause
abstract Unit unpause(TokenizationUnpauseParams params, RequestOptions requestOptions)
-
unpause
Unit unpause(TokenizationUnpauseParams params)
-
unpause
Unit unpause(String tokenizationToken, RequestOptions requestOptions)
-
updateDigitalCardArt
TokenizationUpdateDigitalCardArtResponse updateDigitalCardArt(String tokenizationToken)
This endpoint is used update the digital card art for a digital wallet tokenization. A successful response indicates that the card network has updated the tokenization's art, and the tokenization's
digital_cart_art_tokenfield was updated. The endpoint may not be used on tokenizations with statusDEACTIVATED. Note that this updates the art for one specific tokenization, not all tokenizations for a card. New tokenizations for a card will be created with the art referenced in the card object'sdigital_card_art_tokenfield. Reach out at lithic.com/contact for more information.
-
updateDigitalCardArt
TokenizationUpdateDigitalCardArtResponse updateDigitalCardArt(String tokenizationToken, TokenizationUpdateDigitalCardArtParams params, RequestOptions requestOptions)
-
updateDigitalCardArt
TokenizationUpdateDigitalCardArtResponse updateDigitalCardArt(String tokenizationToken, TokenizationUpdateDigitalCardArtParams params)
-
updateDigitalCardArt
abstract TokenizationUpdateDigitalCardArtResponse updateDigitalCardArt(TokenizationUpdateDigitalCardArtParams params, RequestOptions requestOptions)
-
updateDigitalCardArt
TokenizationUpdateDigitalCardArtResponse updateDigitalCardArt(TokenizationUpdateDigitalCardArtParams params)
-
updateDigitalCardArt
TokenizationUpdateDigitalCardArtResponse updateDigitalCardArt(String tokenizationToken, RequestOptions requestOptions)
-
-
-
-