public class ReversalApi extends Object
| Constructor | Description |
|---|---|
ReversalApi() |
|
ReversalApi(ApiClient apiClient) |
| Modifier and Type | Method | Description |
|---|---|---|
PtsV2PaymentsReversalsPost201Response |
authReversal(String id,
AuthReversalRequest authReversalRequest) |
Process an Authorization Reversal
Include the payment ID in the POST request to reverse the payment amount.
|
okhttp3.Call |
authReversalAsync(String id,
AuthReversalRequest authReversalRequest,
ApiCallback<PtsV2PaymentsReversalsPost201Response> callback) |
Process an Authorization Reversal (asynchronously)
Include the payment ID in the POST request to reverse the payment amount.
|
okhttp3.Call |
authReversalCall(String id,
AuthReversalRequest authReversalRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for authReversal
|
ApiResponse<PtsV2PaymentsReversalsPost201Response> |
authReversalWithHttpInfo(String id,
AuthReversalRequest authReversalRequest) |
Process an Authorization Reversal
Include the payment ID in the POST request to reverse the payment amount.
|
ApiClient |
getApiClient() |
|
PtsV2PaymentsReversalsPost201Response |
mitReversal(MitReversalRequest mitReversalRequest) |
Timeout Reversal
This is to reverse a previous payment that merchant does not receive a reply(Mostly due to Timeout).
|
okhttp3.Call |
mitReversalAsync(MitReversalRequest mitReversalRequest,
ApiCallback<PtsV2PaymentsReversalsPost201Response> callback) |
Timeout Reversal (asynchronously)
This is to reverse a previous payment that merchant does not receive a reply(Mostly due to Timeout).
|
okhttp3.Call |
mitReversalCall(MitReversalRequest mitReversalRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for mitReversal
|
ApiResponse<PtsV2PaymentsReversalsPost201Response> |
mitReversalWithHttpInfo(MitReversalRequest mitReversalRequest) |
Timeout Reversal
This is to reverse a previous payment that merchant does not receive a reply(Mostly due to Timeout).
|
void |
setApiClient(ApiClient apiClient) |
public ReversalApi()
public ReversalApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call authReversalCall(String id, AuthReversalRequest authReversalRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, com.cybersource.authsdk.core.ConfigException
id - The payment ID returned from a previous payment request. (required)authReversalRequest - (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 PtsV2PaymentsReversalsPost201Response authReversal(String id, AuthReversalRequest authReversalRequest) throws ApiException, com.cybersource.authsdk.core.ConfigException
id - The payment ID returned from a previous payment request. (required)authReversalRequest - (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<PtsV2PaymentsReversalsPost201Response> authReversalWithHttpInfo(String id, AuthReversalRequest authReversalRequest) throws ApiException, com.cybersource.authsdk.core.ConfigException
id - The payment ID returned from a previous payment request. (required)authReversalRequest - (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 authReversalAsync(String id, AuthReversalRequest authReversalRequest, ApiCallback<PtsV2PaymentsReversalsPost201Response> callback) throws ApiException, com.cybersource.authsdk.core.ConfigException
id - The payment ID returned from a previous payment request. (required)authReversalRequest - (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 mitReversalCall(MitReversalRequest mitReversalRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, com.cybersource.authsdk.core.ConfigException
mitReversalRequest - (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 PtsV2PaymentsReversalsPost201Response mitReversal(MitReversalRequest mitReversalRequest) throws ApiException, com.cybersource.authsdk.core.ConfigException
mitReversalRequest - (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<PtsV2PaymentsReversalsPost201Response> mitReversalWithHttpInfo(MitReversalRequest mitReversalRequest) throws ApiException, com.cybersource.authsdk.core.ConfigException
mitReversalRequest - (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 mitReversalAsync(MitReversalRequest mitReversalRequest, ApiCallback<PtsV2PaymentsReversalsPost201Response> callback) throws ApiException, com.cybersource.authsdk.core.ConfigException
mitReversalRequest - (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.