public interface TerminalApi
| Modifier and Type | Method and Description |
|---|---|
CancelTerminalActionResponse |
cancelTerminalAction(String actionId)
Cancels a Terminal action request if the status of the request permits it.
|
CompletableFuture<CancelTerminalActionResponse> |
cancelTerminalActionAsync(String actionId)
Cancels a Terminal action request if the status of the request permits it.
|
CancelTerminalCheckoutResponse |
cancelTerminalCheckout(String checkoutId)
Cancels a Terminal checkout request if the status of the request permits it.
|
CompletableFuture<CancelTerminalCheckoutResponse> |
cancelTerminalCheckoutAsync(String checkoutId)
Cancels a Terminal checkout request if the status of the request permits it.
|
CancelTerminalRefundResponse |
cancelTerminalRefund(String terminalRefundId)
Cancels an Interac Terminal refund request by refund request ID if the status of the request
permits it.
|
CompletableFuture<CancelTerminalRefundResponse> |
cancelTerminalRefundAsync(String terminalRefundId)
Cancels an Interac Terminal refund request by refund request ID if the status of the request
permits it.
|
CreateTerminalActionResponse |
createTerminalAction(CreateTerminalActionRequest body)
Creates a Terminal action request and sends it to the specified device to take a payment for
the requested amount.
|
CompletableFuture<CreateTerminalActionResponse> |
createTerminalActionAsync(CreateTerminalActionRequest body)
Creates a Terminal action request and sends it to the specified device to take a payment for
the requested amount.
|
CreateTerminalCheckoutResponse |
createTerminalCheckout(CreateTerminalCheckoutRequest body)
Creates a Terminal checkout request and sends it to the specified device to take a payment
for the requested amount.
|
CompletableFuture<CreateTerminalCheckoutResponse> |
createTerminalCheckoutAsync(CreateTerminalCheckoutRequest body)
Creates a Terminal checkout request and sends it to the specified device to take a payment
for the requested amount.
|
CreateTerminalRefundResponse |
createTerminalRefund(CreateTerminalRefundRequest body)
Creates a request to refund an Interac payment completed on a Square Terminal.
|
CompletableFuture<CreateTerminalRefundResponse> |
createTerminalRefundAsync(CreateTerminalRefundRequest body)
Creates a request to refund an Interac payment completed on a Square Terminal.
|
GetTerminalActionResponse |
getTerminalAction(String actionId)
Retrieves a Terminal action request by `action_id`.
|
CompletableFuture<GetTerminalActionResponse> |
getTerminalActionAsync(String actionId)
Retrieves a Terminal action request by `action_id`.
|
GetTerminalCheckoutResponse |
getTerminalCheckout(String checkoutId)
Retrieves a Terminal checkout request by `checkout_id`.
|
CompletableFuture<GetTerminalCheckoutResponse> |
getTerminalCheckoutAsync(String checkoutId)
Retrieves a Terminal checkout request by `checkout_id`.
|
GetTerminalRefundResponse |
getTerminalRefund(String terminalRefundId)
Retrieves an Interac Terminal refund object by ID.
|
CompletableFuture<GetTerminalRefundResponse> |
getTerminalRefundAsync(String terminalRefundId)
Retrieves an Interac Terminal refund object by ID.
|
SearchTerminalActionsResponse |
searchTerminalActions(SearchTerminalActionsRequest body)
Retrieves a filtered list of Terminal action requests created by the account making the
request.
|
CompletableFuture<SearchTerminalActionsResponse> |
searchTerminalActionsAsync(SearchTerminalActionsRequest body)
Retrieves a filtered list of Terminal action requests created by the account making the
request.
|
SearchTerminalCheckoutsResponse |
searchTerminalCheckouts(SearchTerminalCheckoutsRequest body)
Returns a filtered list of Terminal checkout requests created by the application making the
request.
|
CompletableFuture<SearchTerminalCheckoutsResponse> |
searchTerminalCheckoutsAsync(SearchTerminalCheckoutsRequest body)
Returns a filtered list of Terminal checkout requests created by the application making the
request.
|
SearchTerminalRefundsResponse |
searchTerminalRefunds(SearchTerminalRefundsRequest body)
Retrieves a filtered list of Interac Terminal refund requests created by the seller making
the request.
|
CompletableFuture<SearchTerminalRefundsResponse> |
searchTerminalRefundsAsync(SearchTerminalRefundsRequest body)
Retrieves a filtered list of Interac Terminal refund requests created by the seller making
the request.
|
CreateTerminalActionResponse createTerminalAction(CreateTerminalActionRequest body) throws ApiException, IOException
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<CreateTerminalActionResponse> createTerminalActionAsync(CreateTerminalActionRequest body)
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.SearchTerminalActionsResponse searchTerminalActions(SearchTerminalActionsRequest body) throws ApiException, IOException
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<SearchTerminalActionsResponse> searchTerminalActionsAsync(SearchTerminalActionsRequest body)
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.GetTerminalActionResponse getTerminalAction(String actionId) throws ApiException, IOException
actionId - Required parameter: Unique ID for the desired `TerminalAction`ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<GetTerminalActionResponse> getTerminalActionAsync(String actionId)
actionId - Required parameter: Unique ID for the desired `TerminalAction`CancelTerminalActionResponse cancelTerminalAction(String actionId) throws ApiException, IOException
actionId - Required parameter: Unique ID for the desired `TerminalAction`ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<CancelTerminalActionResponse> cancelTerminalActionAsync(String actionId)
actionId - Required parameter: Unique ID for the desired `TerminalAction`CreateTerminalCheckoutResponse createTerminalCheckout(CreateTerminalCheckoutRequest body) throws ApiException, IOException
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<CreateTerminalCheckoutResponse> createTerminalCheckoutAsync(CreateTerminalCheckoutRequest body)
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.SearchTerminalCheckoutsResponse searchTerminalCheckouts(SearchTerminalCheckoutsRequest body) throws ApiException, IOException
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<SearchTerminalCheckoutsResponse> searchTerminalCheckoutsAsync(SearchTerminalCheckoutsRequest body)
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.GetTerminalCheckoutResponse getTerminalCheckout(String checkoutId) throws ApiException, IOException
checkoutId - Required parameter: The unique ID for the desired `TerminalCheckout`.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<GetTerminalCheckoutResponse> getTerminalCheckoutAsync(String checkoutId)
checkoutId - Required parameter: The unique ID for the desired `TerminalCheckout`.CancelTerminalCheckoutResponse cancelTerminalCheckout(String checkoutId) throws ApiException, IOException
checkoutId - Required parameter: The unique ID for the desired `TerminalCheckout`.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<CancelTerminalCheckoutResponse> cancelTerminalCheckoutAsync(String checkoutId)
checkoutId - Required parameter: The unique ID for the desired `TerminalCheckout`.CreateTerminalRefundResponse createTerminalRefund(CreateTerminalRefundRequest body) throws ApiException, IOException
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<CreateTerminalRefundResponse> createTerminalRefundAsync(CreateTerminalRefundRequest body)
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.SearchTerminalRefundsResponse searchTerminalRefunds(SearchTerminalRefundsRequest body) throws ApiException, IOException
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<SearchTerminalRefundsResponse> searchTerminalRefundsAsync(SearchTerminalRefundsRequest body)
body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.GetTerminalRefundResponse getTerminalRefund(String terminalRefundId) throws ApiException, IOException
terminalRefundId - Required parameter: The unique ID for the desired `TerminalRefund`.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<GetTerminalRefundResponse> getTerminalRefundAsync(String terminalRefundId)
terminalRefundId - Required parameter: The unique ID for the desired `TerminalRefund`.CancelTerminalRefundResponse cancelTerminalRefund(String terminalRefundId) throws ApiException, IOException
terminalRefundId - Required parameter: The unique ID for the desired `TerminalRefund`.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.CompletableFuture<CancelTerminalRefundResponse> cancelTerminalRefundAsync(String terminalRefundId)
terminalRefundId - Required parameter: The unique ID for the desired `TerminalRefund`.Copyright © 2022. All rights reserved.