public class TokenApi extends Object
| Constructor and Description |
|---|
TokenApi() |
TokenApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
InlineResponse2002 |
getCardArtAsset(String instrumentIdentifierId,
String tokenProvider,
String assetType)
Retrieve Card Art
Retrieves Card Art for a specific Instrument Identifier.
|
okhttp3.Call |
getCardArtAssetAsync(String instrumentIdentifierId,
String tokenProvider,
String assetType,
ApiCallback<InlineResponse2002> callback)
Retrieve Card Art (asynchronously)
Retrieves Card Art for a specific Instrument Identifier.
|
okhttp3.Call |
getCardArtAssetCall(String instrumentIdentifierId,
String tokenProvider,
String assetType,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getCardArtAsset
|
ApiResponse<InlineResponse2002> |
getCardArtAssetWithHttpInfo(String instrumentIdentifierId,
String tokenProvider,
String assetType)
Retrieve Card Art
Retrieves Card Art for a specific Instrument Identifier.
|
String |
postTokenPaymentCredentials(String tokenId,
PostPaymentCredentialsRequest1 postPaymentCredentialsRequest,
String profileId)
Generate Payment Credentials v2
**Note**: This resource will be replace by [payment credentials version 3](#/paths/~1tms~1v3~1tokens~1{tokenId}~1payment-credentials/post).
|
okhttp3.Call |
postTokenPaymentCredentialsAsync(String tokenId,
PostPaymentCredentialsRequest1 postPaymentCredentialsRequest,
String profileId,
ApiCallback<String> callback)
Generate Payment Credentials v2 (asynchronously)
**Note**: This resource will be replace by [payment credentials version 3](#/paths/~1tms~1v3~1tokens~1{tokenId}~1payment-credentials/post).
|
okhttp3.Call |
postTokenPaymentCredentialsCall(String tokenId,
PostPaymentCredentialsRequest1 postPaymentCredentialsRequest,
String profileId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for postTokenPaymentCredentials
|
InlineResponse2011 |
postTokenPaymentCredentialsV3(String tokenId,
PostPaymentCredentialsRequest postPaymentCredentialsRequest,
String profileId)
Generate Payment Credentials Latest Version v3
**Payment Credentials**<br>Contains payment information such as the network token, generated TAVV cryptogram for Visa & MasterCard, dynamic CVV for Amex, or DTVV cryptogram for VISA.
|
okhttp3.Call |
postTokenPaymentCredentialsV3Async(String tokenId,
PostPaymentCredentialsRequest postPaymentCredentialsRequest,
String profileId,
ApiCallback<InlineResponse2011> callback)
Generate Payment Credentials Latest Version v3 (asynchronously)
**Payment Credentials**<br>Contains payment information such as the network token, generated TAVV cryptogram for Visa & MasterCard, dynamic CVV for Amex, or DTVV cryptogram for VISA.
|
okhttp3.Call |
postTokenPaymentCredentialsV3Call(String tokenId,
PostPaymentCredentialsRequest postPaymentCredentialsRequest,
String profileId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for postTokenPaymentCredentialsV3
|
ApiResponse<InlineResponse2011> |
postTokenPaymentCredentialsV3WithHttpInfo(String tokenId,
PostPaymentCredentialsRequest postPaymentCredentialsRequest,
String profileId)
Generate Payment Credentials Latest Version v3
**Payment Credentials**<br>Contains payment information such as the network token, generated TAVV cryptogram for Visa & MasterCard, dynamic CVV for Amex, or DTVV cryptogram for VISA.
|
ApiResponse<String> |
postTokenPaymentCredentialsWithHttpInfo(String tokenId,
PostPaymentCredentialsRequest1 postPaymentCredentialsRequest,
String profileId)
Generate Payment Credentials v2
**Note**: This resource will be replace by [payment credentials version 3](#/paths/~1tms~1v3~1tokens~1{tokenId}~1payment-credentials/post).
|
void |
setApiClient(ApiClient apiClient) |
public TokenApi()
public TokenApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call getCardArtAssetCall(String instrumentIdentifierId, String tokenProvider, String assetType, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, com.cybersource.authsdk.core.ConfigException
instrumentIdentifierId - The Id of an Instrument Identifier. (required)tokenProvider - The token provider. (required)assetType - The type of asset. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectcom.cybersource.authsdk.core.ConfigException - If creation of merchant configuration fails in ApiClientpublic InlineResponse2002 getCardArtAsset(String instrumentIdentifierId, String tokenProvider, String assetType) throws ApiException, com.cybersource.authsdk.core.ConfigException
instrumentIdentifierId - The Id of an Instrument Identifier. (required)tokenProvider - The token provider. (required)assetType - The type of asset. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodycom.cybersource.authsdk.core.ConfigException - If creation of merchant configuration fails in ApiClientpublic ApiResponse<InlineResponse2002> getCardArtAssetWithHttpInfo(String instrumentIdentifierId, String tokenProvider, String assetType) throws ApiException, com.cybersource.authsdk.core.ConfigException
instrumentIdentifierId - The Id of an Instrument Identifier. (required)tokenProvider - The token provider. (required)assetType - The type of asset. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodycom.cybersource.authsdk.core.ConfigException - If creation of merchant configuration fails in ApiClientpublic okhttp3.Call getCardArtAssetAsync(String instrumentIdentifierId, String tokenProvider, String assetType, ApiCallback<InlineResponse2002> callback) throws ApiException, com.cybersource.authsdk.core.ConfigException
instrumentIdentifierId - The Id of an Instrument Identifier. (required)tokenProvider - The token provider. (required)assetType - The type of asset. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectcom.cybersource.authsdk.core.ConfigException - If creation of merchant configuration fails in ApiClientpublic okhttp3.Call postTokenPaymentCredentialsCall(String tokenId, PostPaymentCredentialsRequest1 postPaymentCredentialsRequest, String profileId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, com.cybersource.authsdk.core.ConfigException
tokenId - The Id of a token representing a Customer, Payment Instrument or Instrument Identifier. (required)postPaymentCredentialsRequest - (required)profileId - The Id of a profile containing user specific TMS configuration. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectcom.cybersource.authsdk.core.ConfigException - If creation of merchant configuration fails in ApiClientpublic String postTokenPaymentCredentials(String tokenId, PostPaymentCredentialsRequest1 postPaymentCredentialsRequest, String profileId) throws ApiException, com.cybersource.authsdk.core.ConfigException
tokenId - The Id of a token representing a Customer, Payment Instrument or Instrument Identifier. (required)postPaymentCredentialsRequest - (required)profileId - The Id of a profile containing user specific TMS configuration. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodycom.cybersource.authsdk.core.ConfigException - If creation of merchant configuration fails in ApiClientpublic ApiResponse<String> postTokenPaymentCredentialsWithHttpInfo(String tokenId, PostPaymentCredentialsRequest1 postPaymentCredentialsRequest, String profileId) throws ApiException, com.cybersource.authsdk.core.ConfigException
tokenId - The Id of a token representing a Customer, Payment Instrument or Instrument Identifier. (required)postPaymentCredentialsRequest - (required)profileId - The Id of a profile containing user specific TMS configuration. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodycom.cybersource.authsdk.core.ConfigException - If creation of merchant configuration fails in ApiClientpublic okhttp3.Call postTokenPaymentCredentialsAsync(String tokenId, PostPaymentCredentialsRequest1 postPaymentCredentialsRequest, String profileId, ApiCallback<String> callback) throws ApiException, com.cybersource.authsdk.core.ConfigException
tokenId - The Id of a token representing a Customer, Payment Instrument or Instrument Identifier. (required)postPaymentCredentialsRequest - (required)profileId - The Id of a profile containing user specific TMS configuration. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectcom.cybersource.authsdk.core.ConfigException - If creation of merchant configuration fails in ApiClientpublic okhttp3.Call postTokenPaymentCredentialsV3Call(String tokenId, PostPaymentCredentialsRequest postPaymentCredentialsRequest, String profileId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, com.cybersource.authsdk.core.ConfigException
tokenId - The Id of a token representing a Customer, Payment Instrument or Instrument Identifier. (required)postPaymentCredentialsRequest - (required)profileId - The Id of a profile containing user specific TMS configuration. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectcom.cybersource.authsdk.core.ConfigException - If creation of merchant configuration fails in ApiClientpublic InlineResponse2011 postTokenPaymentCredentialsV3(String tokenId, PostPaymentCredentialsRequest postPaymentCredentialsRequest, String profileId) throws ApiException, com.cybersource.authsdk.core.ConfigException
tokenId - The Id of a token representing a Customer, Payment Instrument or Instrument Identifier. (required)postPaymentCredentialsRequest - (required)profileId - The Id of a profile containing user specific TMS configuration. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodycom.cybersource.authsdk.core.ConfigException - If creation of merchant configuration fails in ApiClientpublic ApiResponse<InlineResponse2011> postTokenPaymentCredentialsV3WithHttpInfo(String tokenId, PostPaymentCredentialsRequest postPaymentCredentialsRequest, String profileId) throws ApiException, com.cybersource.authsdk.core.ConfigException
tokenId - The Id of a token representing a Customer, Payment Instrument or Instrument Identifier. (required)postPaymentCredentialsRequest - (required)profileId - The Id of a profile containing user specific TMS configuration. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodycom.cybersource.authsdk.core.ConfigException - If creation of merchant configuration fails in ApiClientpublic okhttp3.Call postTokenPaymentCredentialsV3Async(String tokenId, PostPaymentCredentialsRequest postPaymentCredentialsRequest, String profileId, ApiCallback<InlineResponse2011> callback) throws ApiException, com.cybersource.authsdk.core.ConfigException
tokenId - The Id of a token representing a Customer, Payment Instrument or Instrument Identifier. (required)postPaymentCredentialsRequest - (required)profileId - The Id of a profile containing user specific TMS configuration. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectcom.cybersource.authsdk.core.ConfigException - If creation of merchant configuration fails in ApiClientCopyright © 2026. All rights reserved.