Interface ExchangeWalletTokenService
- All Known Implementing Classes:
DefaultExchangeWalletTokenService
public interface ExchangeWalletTokenService
Exchange a digital wallet payment token for a reference token that can be used later to request a
payment. Tokens are single use and expire after 15 minutes.
- Author:
- Dima Myroniuk (dmyroniuk)
-
Method Summary
Modifier and TypeMethodDescriptioncom.checkout.tokens.TokenResponse
exchangeWalletToken
(com.checkout.tokens.WalletTokenRequest request, String applicationId, String tenantId) Exchange a digital wallet payment token for a reference token.
-
Method Details
-
exchangeWalletToken
com.checkout.tokens.TokenResponse exchangeWalletToken(com.checkout.tokens.WalletTokenRequest request, @Nullable String applicationId, @Nullable String tenantId) throws com.broadleafcommerce.paymentgateway.service.exception.ExchangeWalletTokenException Exchange a digital wallet payment token for a reference token.- Parameters:
request
- the request to exchange tokenapplicationId
- the application idtenantId
- the tenant id- Returns:
- the token response with a single use token
- Throws:
com.broadleafcommerce.paymentgateway.service.exception.ExchangeWalletTokenException
- if the request is failed
-