| Package | Description |
|---|---|
| Api | |
| Model |
| Modifier and Type | Method and Description |
|---|---|
PtsV2PaymentsRefundPost201Response |
RefundApi.refundCapture(RefundCaptureRequest refundCaptureRequest,
String id)
Refund a Capture
Refund a capture API is only used, if you have requested Capture independenlty using [/pts/v2/payments/{id}/captures](https://developer.cybersource.com/api-reference-assets/index.html#payments_capture) API call Include the capture ID in the POST request to refund the captured amount.
|
PtsV2PaymentsRefundPost201Response |
RefundApi.refundPayment(RefundPaymentRequest refundPaymentRequest,
String id)
Refund a Payment
Refund a Payment API is only used, if you have requested Authorization and Capture together in [/pts/v2/payments](https://developer.cybersource.com/api-reference-assets/index.html#payments_payments) API call.
|
| Modifier and Type | Method and Description |
|---|---|
ApiResponse<PtsV2PaymentsRefundPost201Response> |
RefundApi.refundCaptureWithHttpInfo(RefundCaptureRequest refundCaptureRequest,
String id)
Refund a Capture
Refund a capture API is only used, if you have requested Capture independenlty using [/pts/v2/payments/{id}/captures](https://developer.cybersource.com/api-reference-assets/index.html#payments_capture) API call Include the capture ID in the POST request to refund the captured amount.
|
ApiResponse<PtsV2PaymentsRefundPost201Response> |
RefundApi.refundPaymentWithHttpInfo(RefundPaymentRequest refundPaymentRequest,
String id)
Refund a Payment
Refund a Payment API is only used, if you have requested Authorization and Capture together in [/pts/v2/payments](https://developer.cybersource.com/api-reference-assets/index.html#payments_payments) API call.
|
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
RefundApi.refundCaptureAsync(RefundCaptureRequest refundCaptureRequest,
String id,
ApiCallback<PtsV2PaymentsRefundPost201Response> callback)
Refund a Capture (asynchronously)
Refund a capture API is only used, if you have requested Capture independenlty using [/pts/v2/payments/{id}/captures](https://developer.cybersource.com/api-reference-assets/index.html#payments_capture) API call Include the capture ID in the POST request to refund the captured amount.
|
okhttp3.Call |
RefundApi.refundPaymentAsync(RefundPaymentRequest refundPaymentRequest,
String id,
ApiCallback<PtsV2PaymentsRefundPost201Response> callback)
Refund a Payment (asynchronously)
Refund a Payment API is only used, if you have requested Authorization and Capture together in [/pts/v2/payments](https://developer.cybersource.com/api-reference-assets/index.html#payments_payments) API call.
|
Copyright © 2020. All rights reserved.