public class InstructionsApi extends Object
| Constructor | Description |
|---|---|
InstructionsApi() |
|
InstructionsApi(ApiClient apiClient) |
| Modifier and Type | Method | Description |
|---|---|---|
AgenticCreatePurchaseIntentResponse200 |
cancelPurchaseIntent(String instructionId,
AgenticCancelPurchaseIntentRequest agenticCancelPurchaseIntentRequest) |
Cancel a purchase intent
Cancel an existing purchase intent (instruction) identified by its instructionId.
|
okhttp3.Call |
cancelPurchaseIntentAsync(String instructionId,
AgenticCancelPurchaseIntentRequest agenticCancelPurchaseIntentRequest,
ApiCallback<AgenticCreatePurchaseIntentResponse200> callback) |
Cancel a purchase intent (asynchronously)
Cancel an existing purchase intent (instruction) identified by its instructionId.
|
okhttp3.Call |
cancelPurchaseIntentCall(String instructionId,
AgenticCancelPurchaseIntentRequest agenticCancelPurchaseIntentRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for cancelPurchaseIntent
|
ApiResponse<AgenticCreatePurchaseIntentResponse200> |
cancelPurchaseIntentWithHttpInfo(String instructionId,
AgenticCancelPurchaseIntentRequest agenticCancelPurchaseIntentRequest) |
Cancel a purchase intent
Cancel an existing purchase intent (instruction) identified by its instructionId.
|
AgenticConfirmTransactionEventsResponse202 |
confirmTransactionEvents(String instructionId,
AgenticConfirmTransactionEventsRequest agenticConfirmTransactionEventsRequest) |
Confirm transaction events
Confirm transaction events for a completed purchase.
|
okhttp3.Call |
confirmTransactionEventsAsync(String instructionId,
AgenticConfirmTransactionEventsRequest agenticConfirmTransactionEventsRequest,
ApiCallback<AgenticConfirmTransactionEventsResponse202> callback) |
Confirm transaction events (asynchronously)
Confirm transaction events for a completed purchase.
|
okhttp3.Call |
confirmTransactionEventsCall(String instructionId,
AgenticConfirmTransactionEventsRequest agenticConfirmTransactionEventsRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for confirmTransactionEvents
|
ApiResponse<AgenticConfirmTransactionEventsResponse202> |
confirmTransactionEventsWithHttpInfo(String instructionId,
AgenticConfirmTransactionEventsRequest agenticConfirmTransactionEventsRequest) |
Confirm transaction events
Confirm transaction events for a completed purchase.
|
ApiClient |
getApiClient() |
|
AgenticCreatePurchaseIntentResponse200 |
initiatePurchaseIntent(AgenticCreatePurchaseIntentRequest agenticCreatePurchaseIntentRequest) |
Initiate a purchase intent
Create a new purchase intent (instruction) for an agentic transaction.
|
okhttp3.Call |
initiatePurchaseIntentAsync(AgenticCreatePurchaseIntentRequest agenticCreatePurchaseIntentRequest,
ApiCallback<AgenticCreatePurchaseIntentResponse200> callback) |
Initiate a purchase intent (asynchronously)
Create a new purchase intent (instruction) for an agentic transaction.
|
okhttp3.Call |
initiatePurchaseIntentCall(AgenticCreatePurchaseIntentRequest agenticCreatePurchaseIntentRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for initiatePurchaseIntent
|
ApiResponse<AgenticCreatePurchaseIntentResponse200> |
initiatePurchaseIntentWithHttpInfo(AgenticCreatePurchaseIntentRequest agenticCreatePurchaseIntentRequest) |
Initiate a purchase intent
Create a new purchase intent (instruction) for an agentic transaction.
|
AgenticRetrievePaymentCredentialsResponse200 |
retrievePaymentCredentials(String instructionId,
AgenticRetrievePaymentCredentialsRequest agenticRetrievePaymentCredentialsRequest) |
Retrieve payment credentials
Retrieve tokenized payment credentials for a purchase intent to complete the transaction at a merchant.
|
okhttp3.Call |
retrievePaymentCredentialsAsync(String instructionId,
AgenticRetrievePaymentCredentialsRequest agenticRetrievePaymentCredentialsRequest,
ApiCallback<AgenticRetrievePaymentCredentialsResponse200> callback) |
Retrieve payment credentials (asynchronously)
Retrieve tokenized payment credentials for a purchase intent to complete the transaction at a merchant.
|
okhttp3.Call |
retrievePaymentCredentialsCall(String instructionId,
AgenticRetrievePaymentCredentialsRequest agenticRetrievePaymentCredentialsRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for retrievePaymentCredentials
|
ApiResponse<AgenticRetrievePaymentCredentialsResponse200> |
retrievePaymentCredentialsWithHttpInfo(String instructionId,
AgenticRetrievePaymentCredentialsRequest agenticRetrievePaymentCredentialsRequest) |
Retrieve payment credentials
Retrieve tokenized payment credentials for a purchase intent to complete the transaction at a merchant.
|
void |
setApiClient(ApiClient apiClient) |
|
AgenticCreatePurchaseIntentResponse200 |
updatePurchaseIntent(String instructionId,
AgenticUpdatePurchaseIntentRequest agenticUpdatePurchaseIntentRequest) |
Update a purchase intent
Update an existing purchase intent (instruction) identified by its instructionId.
|
okhttp3.Call |
updatePurchaseIntentAsync(String instructionId,
AgenticUpdatePurchaseIntentRequest agenticUpdatePurchaseIntentRequest,
ApiCallback<AgenticCreatePurchaseIntentResponse200> callback) |
Update a purchase intent (asynchronously)
Update an existing purchase intent (instruction) identified by its instructionId.
|
okhttp3.Call |
updatePurchaseIntentCall(String instructionId,
AgenticUpdatePurchaseIntentRequest agenticUpdatePurchaseIntentRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for updatePurchaseIntent
|
ApiResponse<AgenticCreatePurchaseIntentResponse200> |
updatePurchaseIntentWithHttpInfo(String instructionId,
AgenticUpdatePurchaseIntentRequest agenticUpdatePurchaseIntentRequest) |
Update a purchase intent
Update an existing purchase intent (instruction) identified by its instructionId.
|
public InstructionsApi()
public InstructionsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call cancelPurchaseIntentCall(String instructionId, AgenticCancelPurchaseIntentRequest agenticCancelPurchaseIntentRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, com.cybersource.authsdk.core.ConfigException
instructionId - (required)agenticCancelPurchaseIntentRequest - Unique identifier for the purchase intent instruction. (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 AgenticCreatePurchaseIntentResponse200 cancelPurchaseIntent(String instructionId, AgenticCancelPurchaseIntentRequest agenticCancelPurchaseIntentRequest) throws ApiException, com.cybersource.authsdk.core.ConfigException
instructionId - (required)agenticCancelPurchaseIntentRequest - Unique identifier for the purchase intent instruction. (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<AgenticCreatePurchaseIntentResponse200> cancelPurchaseIntentWithHttpInfo(String instructionId, AgenticCancelPurchaseIntentRequest agenticCancelPurchaseIntentRequest) throws ApiException, com.cybersource.authsdk.core.ConfigException
instructionId - (required)agenticCancelPurchaseIntentRequest - Unique identifier for the purchase intent instruction. (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 cancelPurchaseIntentAsync(String instructionId, AgenticCancelPurchaseIntentRequest agenticCancelPurchaseIntentRequest, ApiCallback<AgenticCreatePurchaseIntentResponse200> callback) throws ApiException, com.cybersource.authsdk.core.ConfigException
instructionId - (required)agenticCancelPurchaseIntentRequest - Unique identifier for the purchase intent instruction. (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 confirmTransactionEventsCall(String instructionId, AgenticConfirmTransactionEventsRequest agenticConfirmTransactionEventsRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, com.cybersource.authsdk.core.ConfigException
instructionId - Unique identifier for the purchase intent instruction. (required)agenticConfirmTransactionEventsRequest - (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 AgenticConfirmTransactionEventsResponse202 confirmTransactionEvents(String instructionId, AgenticConfirmTransactionEventsRequest agenticConfirmTransactionEventsRequest) throws ApiException, com.cybersource.authsdk.core.ConfigException
instructionId - Unique identifier for the purchase intent instruction. (required)agenticConfirmTransactionEventsRequest - (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<AgenticConfirmTransactionEventsResponse202> confirmTransactionEventsWithHttpInfo(String instructionId, AgenticConfirmTransactionEventsRequest agenticConfirmTransactionEventsRequest) throws ApiException, com.cybersource.authsdk.core.ConfigException
instructionId - Unique identifier for the purchase intent instruction. (required)agenticConfirmTransactionEventsRequest - (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 confirmTransactionEventsAsync(String instructionId, AgenticConfirmTransactionEventsRequest agenticConfirmTransactionEventsRequest, ApiCallback<AgenticConfirmTransactionEventsResponse202> callback) throws ApiException, com.cybersource.authsdk.core.ConfigException
instructionId - Unique identifier for the purchase intent instruction. (required)agenticConfirmTransactionEventsRequest - (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 initiatePurchaseIntentCall(AgenticCreatePurchaseIntentRequest agenticCreatePurchaseIntentRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, com.cybersource.authsdk.core.ConfigException
agenticCreatePurchaseIntentRequest - (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 AgenticCreatePurchaseIntentResponse200 initiatePurchaseIntent(AgenticCreatePurchaseIntentRequest agenticCreatePurchaseIntentRequest) throws ApiException, com.cybersource.authsdk.core.ConfigException
agenticCreatePurchaseIntentRequest - (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<AgenticCreatePurchaseIntentResponse200> initiatePurchaseIntentWithHttpInfo(AgenticCreatePurchaseIntentRequest agenticCreatePurchaseIntentRequest) throws ApiException, com.cybersource.authsdk.core.ConfigException
agenticCreatePurchaseIntentRequest - (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 initiatePurchaseIntentAsync(AgenticCreatePurchaseIntentRequest agenticCreatePurchaseIntentRequest, ApiCallback<AgenticCreatePurchaseIntentResponse200> callback) throws ApiException, com.cybersource.authsdk.core.ConfigException
agenticCreatePurchaseIntentRequest - (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 retrievePaymentCredentialsCall(String instructionId, AgenticRetrievePaymentCredentialsRequest agenticRetrievePaymentCredentialsRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, com.cybersource.authsdk.core.ConfigException
instructionId - Unique identifier for the purchase intent instruction. (required)agenticRetrievePaymentCredentialsRequest - (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 AgenticRetrievePaymentCredentialsResponse200 retrievePaymentCredentials(String instructionId, AgenticRetrievePaymentCredentialsRequest agenticRetrievePaymentCredentialsRequest) throws ApiException, com.cybersource.authsdk.core.ConfigException
instructionId - Unique identifier for the purchase intent instruction. (required)agenticRetrievePaymentCredentialsRequest - (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<AgenticRetrievePaymentCredentialsResponse200> retrievePaymentCredentialsWithHttpInfo(String instructionId, AgenticRetrievePaymentCredentialsRequest agenticRetrievePaymentCredentialsRequest) throws ApiException, com.cybersource.authsdk.core.ConfigException
instructionId - Unique identifier for the purchase intent instruction. (required)agenticRetrievePaymentCredentialsRequest - (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 retrievePaymentCredentialsAsync(String instructionId, AgenticRetrievePaymentCredentialsRequest agenticRetrievePaymentCredentialsRequest, ApiCallback<AgenticRetrievePaymentCredentialsResponse200> callback) throws ApiException, com.cybersource.authsdk.core.ConfigException
instructionId - Unique identifier for the purchase intent instruction. (required)agenticRetrievePaymentCredentialsRequest - (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 updatePurchaseIntentCall(String instructionId, AgenticUpdatePurchaseIntentRequest agenticUpdatePurchaseIntentRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, com.cybersource.authsdk.core.ConfigException
instructionId - Unique identifier for the purchase intent instruction. (required)agenticUpdatePurchaseIntentRequest - (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 AgenticCreatePurchaseIntentResponse200 updatePurchaseIntent(String instructionId, AgenticUpdatePurchaseIntentRequest agenticUpdatePurchaseIntentRequest) throws ApiException, com.cybersource.authsdk.core.ConfigException
instructionId - Unique identifier for the purchase intent instruction. (required)agenticUpdatePurchaseIntentRequest - (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<AgenticCreatePurchaseIntentResponse200> updatePurchaseIntentWithHttpInfo(String instructionId, AgenticUpdatePurchaseIntentRequest agenticUpdatePurchaseIntentRequest) throws ApiException, com.cybersource.authsdk.core.ConfigException
instructionId - Unique identifier for the purchase intent instruction. (required)agenticUpdatePurchaseIntentRequest - (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 updatePurchaseIntentAsync(String instructionId, AgenticUpdatePurchaseIntentRequest agenticUpdatePurchaseIntentRequest, ApiCallback<AgenticCreatePurchaseIntentResponse200> callback) throws ApiException, com.cybersource.authsdk.core.ConfigException
instructionId - Unique identifier for the purchase intent instruction. (required)agenticUpdatePurchaseIntentRequest - (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 ApiClientCopyright © 2026. All rights reserved.