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
Modifier and Type Method Description abstract TokenizationService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. TokenizationRetrieveResponseretrieve(TokenizationRetrieveParams params)Get tokenization abstract TokenizationRetrieveResponseretrieve(TokenizationRetrieveParams params, RequestOptions requestOptions)TokenizationListPagelist()List card tokenizations abstract TokenizationListPagelist(TokenizationListParams params, RequestOptions requestOptions)TokenizationListPagelist(TokenizationListParams params)TokenizationListPagelist(RequestOptions requestOptions)Unitactivate(TokenizationActivateParams params)This endpoint is used to ask the card network to activate a tokenization. abstract Unitactivate(TokenizationActivateParams params, RequestOptions requestOptions)Unitdeactivate(TokenizationDeactivateParams params)This endpoint is used to ask the card network to deactivate a tokenization. abstract Unitdeactivate(TokenizationDeactivateParams params, RequestOptions requestOptions)Unitpause(TokenizationPauseParams params)This endpoint is used to ask the card network to pause a tokenization. abstract Unitpause(TokenizationPauseParams params, RequestOptions requestOptions)UnitresendActivationCode(TokenizationResendActivationCodeParams params)This endpoint is used to ask the card network to send another activation code to a cardholder that has already tried tokenizing a card. abstract UnitresendActivationCode(TokenizationResendActivationCodeParams params, RequestOptions requestOptions)TokenizationSimulateResponsesimulate(TokenizationSimulateParams params)This endpoint is used to simulate a card's tokenization in the Digital Wallet and merchant tokenization ecosystem. abstract TokenizationSimulateResponsesimulate(TokenizationSimulateParams params, RequestOptions requestOptions)Unitunpause(TokenizationUnpauseParams params)This endpoint is used to ask the card network to unpause a tokenization. abstract Unitunpause(TokenizationUnpauseParams params, RequestOptions requestOptions)TokenizationUpdateDigitalCardArtResponseupdateDigitalCardArt(TokenizationUpdateDigitalCardArtParams params)This endpoint is used update the digital card art for a digital wallet tokenization. abstract TokenizationUpdateDigitalCardArtResponseupdateDigitalCardArt(TokenizationUpdateDigitalCardArtParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract TokenizationService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
retrieve
TokenizationRetrieveResponse retrieve(TokenizationRetrieveParams params)
Get tokenization
-
retrieve
abstract TokenizationRetrieveResponse retrieve(TokenizationRetrieveParams params, 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(TokenizationActivateParams params)
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
abstract Unit activate(TokenizationActivateParams params, RequestOptions requestOptions)
-
deactivate
Unit deactivate(TokenizationDeactivateParams params)
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
abstract Unit deactivate(TokenizationDeactivateParams params, RequestOptions requestOptions)
-
pause
Unit pause(TokenizationPauseParams params)
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
abstract Unit pause(TokenizationPauseParams params, RequestOptions requestOptions)
-
resendActivationCode
Unit resendActivationCode(TokenizationResendActivationCodeParams params)
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
abstract Unit resendActivationCode(TokenizationResendActivationCodeParams params, 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(TokenizationUnpauseParams params)
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
abstract Unit unpause(TokenizationUnpauseParams params, RequestOptions requestOptions)
-
updateDigitalCardArt
TokenizationUpdateDigitalCardArtResponse updateDigitalCardArt(TokenizationUpdateDigitalCardArtParams params)
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
abstract TokenizationUpdateDigitalCardArtResponse updateDigitalCardArt(TokenizationUpdateDigitalCardArtParams params, RequestOptions requestOptions)
-
-
-
-