| Package | Description |
|---|---|
| Api | |
| Invokers |
| Modifier and Type | Method and Description |
|---|---|
com.squareup.okhttp.Call |
ReversalApi.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.
|
com.squareup.okhttp.Call |
CaptureApi.capturePaymentAsync(CapturePaymentRequest capturePaymentRequest,
String id,
ApiCallback<PtsV2PaymentsCapturesPost201Response> callback)
Capture a Payment (asynchronously)
Include the payment ID in the POST request to capture the payment amount.
|
com.squareup.okhttp.Call |
CreditApi.createCreditAsync(CreateCreditRequest createCreditRequest,
ApiCallback<PtsV2CreditsPost201Response> callback)
Process a Credit (asynchronously)
POST to the credit resource to credit funds to a specified credit card.
|
com.squareup.okhttp.Call |
DecisionManagerApi.createDecisionManagerCaseAsync(CreateDecisionManagerCaseRequest createDecisionManagerCaseRequest,
ApiCallback<RiskV1DecisionsPost201Response> callback)
Create Decision Manager Case (asynchronously)
This is the combined request to the Decision Manager Service for a transaction sent to Cybersource.
|
com.squareup.okhttp.Call |
InstrumentIdentifierApi.createInstrumentIdentifierAsync(String profileId,
CreateInstrumentIdentifierRequest createInstrumentIdentifierRequest,
ApiCallback<TmsV1InstrumentIdentifiersPost200Response> callback)
Create an Instrument Identifier (asynchronously)
|
com.squareup.okhttp.Call |
PaymentsApi.createPaymentAsync(CreatePaymentRequest createPaymentRequest,
ApiCallback<PtsV2PaymentsPost201Response> callback)
Process a Payment (asynchronously)
Authorize the payment for the transaction.
|
com.squareup.okhttp.Call |
PaymentInstrumentApi.createPaymentInstrumentAsync(String profileId,
CreatePaymentInstrumentRequest createPaymentInstrumentRequest,
ApiCallback<TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedPaymentInstruments> callback)
Create a Payment Instrument (asynchronously)
|
com.squareup.okhttp.Call |
ReportsApi.createReportAsync(RequestBody requestBody,
String organizationId,
ApiCallback<Void> callback)
Create Adhoc Report (asynchronously)
Create a one-time report.
|
com.squareup.okhttp.Call |
SearchTransactionsApi.createSearchAsync(CreateSearchRequest createSearchRequest,
ApiCallback<TssV2TransactionsPost201Response> callback)
Create a search request (asynchronously)
Create a search request.
|
com.squareup.okhttp.Call |
ReportSubscriptionsApi.createSubscriptionAsync(RequestBody1 requestBody,
String organizationId,
ApiCallback<Void> callback)
Create Report Subscription for a report name by organization (asynchronously)
Create a report subscription for your organization.
|
com.squareup.okhttp.Call |
InstrumentIdentifierApi.deleteInstrumentIdentifierAsync(String profileId,
String tokenId,
ApiCallback<Void> callback)
Delete an Instrument Identifier (asynchronously)
|
com.squareup.okhttp.Call |
PaymentInstrumentApi.deletePaymentInstrumentAsync(String profileId,
String tokenId,
ApiCallback<Void> callback)
Delete a Payment Instrument (asynchronously)
|
com.squareup.okhttp.Call |
ReportSubscriptionsApi.deleteSubscriptionAsync(String reportName,
ApiCallback<Void> callback)
Delete subscription of a report name by organization (asynchronously)
Delete a report subscription for your organization.
|
com.squareup.okhttp.Call |
ReportDownloadsApi.downloadReportAsync(org.joda.time.LocalDate reportDate,
String reportName,
String organizationId,
ApiCallback<Void> callback)
Download a report (asynchronously)
Download a report using the unique report name and date.
|
com.squareup.okhttp.Call |
KeyGenerationApi.generatePublicKeyAsync(GeneratePublicKeyRequest generatePublicKeyRequest,
ApiCallback<FlexV1KeysPost200Response> callback)
Generate Key (asynchronously)
Generate a one-time use public key and key ID to encrypt the card number in the follow-on Tokenize Card request.
|
com.squareup.okhttp.Call |
InstrumentIdentifierApi.getAllPaymentInstrumentsAsync(String profileId,
String tokenId,
Long offset,
Long limit,
ApiCallback<TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response> callback)
Retrieve all Payment Instruments (asynchronously)
|
com.squareup.okhttp.Call |
ReportSubscriptionsApi.getAllSubscriptionsAsync(ApiCallback<ReportingV3ReportSubscriptionsGet200Response> callback)
Get all subscriptions (asynchronously)
View a summary of all report subscriptions.
|
com.squareup.okhttp.Call |
ConversionDetailsApi.getConversionDetailAsync(org.joda.time.DateTime startTime,
org.joda.time.DateTime endTime,
String organizationId,
ApiCallback<ReportingV3ConversionDetailsGet200Response> callback)
Get conversion detail transactions (asynchronously)
Get conversion detail of transactions for a merchant.
|
com.squareup.okhttp.Call |
DownloadDTDApi.getDTDV2Async(String reportDefinitionNameVersion,
ApiCallback<Void> callback)
Used to download DTDs for reports (asynchronously)
Downloads DTDs for reports on no-auth.
|
com.squareup.okhttp.Call |
SecureFileShareApi.getFileAsync(String fileId,
String organizationId,
ApiCallback<Void> callback)
Download a file with file identifier (asynchronously)
Download a file for the given file identifier
|
com.squareup.okhttp.Call |
SecureFileShareApi.getFileDetailAsync(org.joda.time.LocalDate startDate,
org.joda.time.LocalDate endDate,
String organizationId,
ApiCallback<V1FileDetailsGet200Response> callback)
Get list of files (asynchronously)
Get list of files and it's information of them available inside the report directory
|
com.squareup.okhttp.Call |
InstrumentIdentifierApi.getInstrumentIdentifierAsync(String profileId,
String tokenId,
ApiCallback<TmsV1InstrumentIdentifiersPost200Response> callback)
Retrieve an Instrument Identifier (asynchronously)
|
com.squareup.okhttp.Call |
NetFundingsApi.getNetFundingDetailsAsync(org.joda.time.DateTime startTime,
org.joda.time.DateTime endTime,
String organizationId,
String groupName,
ApiCallback<ReportingV3NetFundingsGet200Response> callback)
Get Netfunding information for an account or a merchant (asynchronously)
Get Netfunding information for an account or a merchant.
|
com.squareup.okhttp.Call |
NotificationOfChangesApi.getNotificationOfChangeReportAsync(org.joda.time.DateTime startTime,
org.joda.time.DateTime endTime,
ApiCallback<ReportingV3NotificationofChangesGet200Response> callback)
Get Notification Of Changes (asynchronously)
Download the Notification of Change report.
|
com.squareup.okhttp.Call |
PaymentBatchSummariesApi.getPaymentBatchSummaryAsync(org.joda.time.DateTime startTime,
org.joda.time.DateTime endTime,
String organizationId,
String rollUp,
String breakdown,
Integer startDayOfWeek,
ApiCallback<ReportingV3PaymentBatchSummariesGet200Response> callback)
Get payment batch summary data (asynchronously)
Scope can be either account/merchant or reseller.
|
com.squareup.okhttp.Call |
PaymentInstrumentApi.getPaymentInstrumentAsync(String profileId,
String tokenId,
ApiCallback<TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedPaymentInstruments> callback)
Retrieve a Payment Instrument (asynchronously)
|
com.squareup.okhttp.Call |
PurchaseAndRefundDetailsApi.getPurchaseAndRefundDetailsAsync(org.joda.time.DateTime startTime,
org.joda.time.DateTime endTime,
String organizationId,
String paymentSubtype,
String viewBy,
String groupName,
Integer offset,
Integer limit,
ApiCallback<ReportingV3PurchaseRefundDetailsGet200Response> callback)
Get Purchase and Refund details (asynchronously)
Download the Purchase and Refund Details report.
|
com.squareup.okhttp.Call |
ReportsApi.getReportByReportIdAsync(String reportId,
String organizationId,
ApiCallback<ReportingV3ReportsIdGet200Response> callback)
Get Report based on reportId (asynchronously)
Download a report using the reportId value.
|
com.squareup.okhttp.Call |
ReportDefinitionsApi.getResourceInfoByReportDefinitionAsync(String reportDefinitionName,
String organizationId,
ApiCallback<ReportingV3ReportDefinitionsNameGet200Response> callback)
Get report definition (asynchronously)
View the attributes of an individual report type.
|
com.squareup.okhttp.Call |
ReportDefinitionsApi.getResourceV2InfoAsync(String organizationId,
ApiCallback<ReportingV3ReportDefinitionsGet200Response> callback)
Get reporting resource information (asynchronously)
View a list of supported reports and their attributes before subscribing to them.
|
com.squareup.okhttp.Call |
SearchTransactionsApi.getSearchAsync(String searchId,
ApiCallback<TssV2TransactionsPost201Response> callback)
Get Search results (asynchronously)
Include the Search ID in the GET request to retrieve the search results.
|
com.squareup.okhttp.Call |
ReportSubscriptionsApi.getSubscriptionAsync(String reportName,
ApiCallback<ReportingV3ReportSubscriptionsGet200ResponseSubscriptions> callback)
Get subscription for report name (asynchronously)
View the details of a report subscription, such as the report format or report frequency, using the report’s unique name.
|
com.squareup.okhttp.Call |
TransactionDetailsApi.getTransactionAsync(String id,
ApiCallback<TssV2TransactionsGet200Response> callback)
Retrieve a Transaction (asynchronously)
Include the Request ID in the GET request to retrieve the transaction details.
|
com.squareup.okhttp.Call |
TransactionBatchesApi.getTransactionBatchDetailsAsync(String id,
org.joda.time.LocalDate uploadDate,
String status,
ApiCallback<Void> callback)
Get transaction details for a given batch id (asynchronously)
Provides real-time detailed status information about the transactions that you previously uploaded in the Business Center or processed with the Offline Transaction File Submission service.
|
com.squareup.okhttp.Call |
TransactionBatchesApi.getTransactionBatchesAsync(org.joda.time.DateTime startTime,
org.joda.time.DateTime endTime,
ApiCallback<PtsV1TransactionBatchesGet200Response> callback)
Get a list of batch files (asynchronously)
Provide the search range
|
com.squareup.okhttp.Call |
TransactionBatchesApi.getTransactionBatchIdAsync(String id,
ApiCallback<PtsV1TransactionBatchesIdGet200Response> callback)
Get individual batch file (asynchronously)
Provide the search range
|
com.squareup.okhttp.Call |
UserManagementApi.getUsersAsync(String organizationId,
String userName,
String permissionId,
String roleId,
ApiCallback<UmsV1UsersGet200Response> callback)
Get user information (asynchronously)
This endpoint is to get all the user information depending on the filter criteria passed in the query.
|
com.squareup.okhttp.Call |
DownloadXSDApi.getXSDV2Async(String reportDefinitionNameVersion,
ApiCallback<Void> callback)
Used to download XSDs for reports (asynchronously)
Downloads XSDs for reports on no-auth.
|
com.squareup.okhttp.Call |
PayoutsApi.octCreatePaymentAsync(OctCreatePaymentRequest octCreatePaymentRequest,
ApiCallback<PtsV2PayoutsPost201Response> callback)
Process a Payout (asynchronously)
Send funds from a selected funding source to a designated credit/debit card account or a prepaid card using an Original Credit Transaction (OCT).
|
com.squareup.okhttp.Call |
RefundApi.refundCaptureAsync(RefundCaptureRequest refundCaptureRequest,
String id,
ApiCallback<PtsV2PaymentsRefundPost201Response> callback)
Refund a Capture (asynchronously)
Include the capture ID in the POST request to refund the captured amount.
|
com.squareup.okhttp.Call |
RefundApi.refundPaymentAsync(RefundPaymentRequest refundPaymentRequest,
String id,
ApiCallback<PtsV2PaymentsRefundPost201Response> callback)
Refund a Payment (asynchronously)
Include the payment ID in the POST request to refund the payment amount.
|
com.squareup.okhttp.Call |
ReportsApi.searchReportsAsync(org.joda.time.DateTime startTime,
org.joda.time.DateTime endTime,
String timeQueryType,
String organizationId,
String reportMimeType,
String reportFrequency,
String reportName,
Integer reportDefinitionId,
String reportStatus,
ApiCallback<ReportingV3ReportsGet200Response> callback)
Retrieve available reports (asynchronously)
Retrieve a list of the available reports to which you are subscribed.
|
com.squareup.okhttp.Call |
TokenizationApi.tokenizeAsync(TokenizeRequest tokenizeRequest,
ApiCallback<FlexV1TokensPost200Response> callback)
Tokenize card (asynchronously)
Returns a token representing the supplied card details.
|
com.squareup.okhttp.Call |
InstrumentIdentifierApi.updateInstrumentIdentifierAsync(String profileId,
String tokenId,
UpdateInstrumentIdentifierRequest updateInstrumentIdentifierRequest,
ApiCallback<TmsV1InstrumentIdentifiersPost200Response> callback)
Update a Instrument Identifier (asynchronously)
|
com.squareup.okhttp.Call |
PaymentInstrumentApi.updatePaymentInstrumentAsync(String profileId,
String tokenId,
UpdatePaymentInstrumentRequest updatePaymentInstrumentRequest,
ApiCallback<TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedPaymentInstruments> callback)
Update a Payment Instrument (asynchronously)
|
com.squareup.okhttp.Call |
VoidApi.voidCaptureAsync(VoidCaptureRequest voidCaptureRequest,
String id,
ApiCallback<PtsV2PaymentsVoidsPost201Response> callback)
Void a Capture (asynchronously)
Include the capture ID in the POST request to cancel the capture.
|
com.squareup.okhttp.Call |
VoidApi.voidCreditAsync(VoidCreditRequest voidCreditRequest,
String id,
ApiCallback<PtsV2PaymentsVoidsPost201Response> callback)
Void a Credit (asynchronously)
Include the credit ID in the POST request to cancel the credit.
|
com.squareup.okhttp.Call |
VoidApi.voidPaymentAsync(VoidPaymentRequest voidPaymentRequest,
String id,
ApiCallback<PtsV2PaymentsVoidsPost201Response> callback)
Void a Payment (asynchronously)
Include the payment ID in the POST request to cancel the payment.
|
com.squareup.okhttp.Call |
VoidApi.voidRefundAsync(VoidRefundRequest voidRefundRequest,
String id,
ApiCallback<PtsV2PaymentsVoidsPost201Response> callback)
Void a Refund (asynchronously)
Include the refund ID in the POST request to cancel the refund.
|
| Modifier and Type | Method and Description |
|---|---|
<T> void |
ApiClient.executeAsync(com.squareup.okhttp.Call call,
ApiCallback<T> callback)
|
<T> void |
ApiClient.executeAsync(com.squareup.okhttp.Call call,
Type returnType,
ApiCallback<T> callback)
Execute HTTP call asynchronously.
|
Copyright © 2019. All rights reserved.