FraudPreventionV2Client

public final class FraudPreventionV2Client

Fraud & Risk APIs to detect fraud

Types

Link copied to clipboard
public final class Builder
Link copied to clipboard
public final class BuilderWithHttpClient

Functions

Link copied to clipboard
Link copied to clipboard
public final <Error class: unknown class><AccountScreenResponse> execute(ScreenAccountOperation operation)

Run fraud screening for one transaction The Account Screen API gives a Fraud recommendation for an account transaction. A recommendation can be ACCEPT, CHALLENGE, or REJECT. A transaction is marked as CHALLENGE whenever there are insufficient signals to recommend ACCEPT or REJECT. These CHALLENGE incidents are manually reviewed, and a corrected recommendation is made asynchronously.

public final <Error class: unknown class><OrderPurchaseScreenResponse> execute(ScreenOrderPurchaseOperation operation)

Run fraud screening for one transaction The Order Purchase API gives a Fraud recommendation for a transaction. A recommendation can be Accept, Reject, or Review. A transaction is marked as Review whenever there are insufficient signals to recommend Accept or Reject. These incidents are manually reviewed, and a corrected recommendation is made asynchronously.

public final <Error class: unknown class><AccountUpdateResponse> execute(UpdateAccountOperation operation)

Send an update as a result of an account screen transaction The Account Update API is called when there is an account lifecycle transition such as a challenge outcome, account restoration, or remediation action completion. For example, if a user's account is disabled, deleted, or restored, the Account Update API is called to notify Expedia Group about the change. The Account Update API is also called when a user responds to a login Multi-Factor Authentication based on a Fraud recommendation.

public final <Error class: unknown class><OrderPurchaseUpdateResponse> execute(UpdateOrderPurchaseOperation operation)

Send an update for a transaction The Order Purchase Update API is called when the status of the order has changed. For example, if the customer cancels the reservation, changes reservation in any way, or adds additional products or travelers to the reservation, the Order Purchase Update API is called to notify Expedia Group about the change. The Order Purchase Update API is also called when the merchant cancels or changes an order based on a Fraud recommendation.

Link copied to clipboard
public final CompletableFuture<<Error class: unknown class><AccountScreenResponse>> executeAsync(ScreenAccountOperation operation)

Run fraud screening for one transaction The Account Screen API gives a Fraud recommendation for an account transaction. A recommendation can be ACCEPT, CHALLENGE, or REJECT. A transaction is marked as CHALLENGE whenever there are insufficient signals to recommend ACCEPT or REJECT. These CHALLENGE incidents are manually reviewed, and a corrected recommendation is made asynchronously.

public final CompletableFuture<<Error class: unknown class><OrderPurchaseScreenResponse>> executeAsync(ScreenOrderPurchaseOperation operation)

Run fraud screening for one transaction The Order Purchase API gives a Fraud recommendation for a transaction. A recommendation can be Accept, Reject, or Review. A transaction is marked as Review whenever there are insufficient signals to recommend Accept or Reject. These incidents are manually reviewed, and a corrected recommendation is made asynchronously.

public final CompletableFuture<<Error class: unknown class><AccountUpdateResponse>> executeAsync(UpdateAccountOperation operation)

Send an update as a result of an account screen transaction The Account Update API is called when there is an account lifecycle transition such as a challenge outcome, account restoration, or remediation action completion. For example, if a user's account is disabled, deleted, or restored, the Account Update API is called to notify Expedia Group about the change. The Account Update API is also called when a user responds to a login Multi-Factor Authentication based on a Fraud recommendation.

public final CompletableFuture<<Error class: unknown class><OrderPurchaseUpdateResponse>> executeAsync(UpdateOrderPurchaseOperation operation)

Send an update for a transaction The Order Purchase Update API is called when the status of the order has changed. For example, if the customer cancels the reservation, changes reservation in any way, or adds additional products or travelers to the reservation, the Order Purchase Update API is called to notify Expedia Group about the change. The Order Purchase Update API is also called when the merchant cancels or changes an order based on a Fraud recommendation.

Link copied to clipboard
@Deprecated(message = "Use execute method instead", replaceWith = @ReplaceWith(imports = {}, expression = "execute(operation: ScreenAccountOperation)"))
public final AccountScreenResponse screenAccount(AccountScreenRequest accountScreenRequest)

Run fraud screening for one transaction The Account Screen API gives a Fraud recommendation for an account transaction. A recommendation can be ACCEPT, CHALLENGE, or REJECT. A transaction is marked as CHALLENGE whenever there are insufficient signals to recommend ACCEPT or REJECT. These CHALLENGE incidents are manually reviewed, and a corrected recommendation is made asynchronously.

Link copied to clipboard
@Deprecated(message = "Use execute method instead", replaceWith = @ReplaceWith(imports = {}, expression = "execute(operation: ScreenAccountOperation)"))
public final <Error class: unknown class><AccountScreenResponse> screenAccountWithResponse(AccountScreenRequest accountScreenRequest)

Run fraud screening for one transaction The Account Screen API gives a Fraud recommendation for an account transaction. A recommendation can be ACCEPT, CHALLENGE, or REJECT. A transaction is marked as CHALLENGE whenever there are insufficient signals to recommend ACCEPT or REJECT. These CHALLENGE incidents are manually reviewed, and a corrected recommendation is made asynchronously.

Link copied to clipboard
@Deprecated(message = "Use execute method instead", replaceWith = @ReplaceWith(imports = {}, expression = "execute(operation: ScreenOrderPurchaseOperation)"))
public final OrderPurchaseScreenResponse screenOrderPurchase(OrderPurchaseScreenRequest orderPurchaseScreenRequest)

Run fraud screening for one transaction The Order Purchase API gives a Fraud recommendation for a transaction. A recommendation can be Accept, Reject, or Review. A transaction is marked as Review whenever there are insufficient signals to recommend Accept or Reject. These incidents are manually reviewed, and a corrected recommendation is made asynchronously.

Link copied to clipboard
@Deprecated(message = "Use execute method instead", replaceWith = @ReplaceWith(imports = {}, expression = "execute(operation: ScreenOrderPurchaseOperation)"))
public final <Error class: unknown class><OrderPurchaseScreenResponse> screenOrderPurchaseWithResponse(OrderPurchaseScreenRequest orderPurchaseScreenRequest)

Run fraud screening for one transaction The Order Purchase API gives a Fraud recommendation for a transaction. A recommendation can be Accept, Reject, or Review. A transaction is marked as Review whenever there are insufficient signals to recommend Accept or Reject. These incidents are manually reviewed, and a corrected recommendation is made asynchronously.

Link copied to clipboard
public Unit throwServiceException(HttpResponse response, String operationId)
Link copied to clipboard
@Deprecated(message = "Use execute method instead", replaceWith = @ReplaceWith(imports = {}, expression = "execute(operation: UpdateAccountOperation)"))
public final AccountUpdateResponse updateAccount(AccountUpdateRequest accountUpdateRequest)

Send an update as a result of an account screen transaction The Account Update API is called when there is an account lifecycle transition such as a challenge outcome, account restoration, or remediation action completion. For example, if a user's account is disabled, deleted, or restored, the Account Update API is called to notify Expedia Group about the change. The Account Update API is also called when a user responds to a login Multi-Factor Authentication based on a Fraud recommendation.

Link copied to clipboard
@Deprecated(message = "Use execute method instead", replaceWith = @ReplaceWith(imports = {}, expression = "execute(operation: UpdateAccountOperation)"))
public final <Error class: unknown class><AccountUpdateResponse> updateAccountWithResponse(AccountUpdateRequest accountUpdateRequest)

Send an update as a result of an account screen transaction The Account Update API is called when there is an account lifecycle transition such as a challenge outcome, account restoration, or remediation action completion. For example, if a user's account is disabled, deleted, or restored, the Account Update API is called to notify Expedia Group about the change. The Account Update API is also called when a user responds to a login Multi-Factor Authentication based on a Fraud recommendation.

Link copied to clipboard
@Deprecated(message = "Use execute method instead", replaceWith = @ReplaceWith(imports = {}, expression = "execute(operation: UpdateOrderPurchaseOperation)"))
public final OrderPurchaseUpdateResponse updateOrderPurchase(OrderPurchaseUpdateRequest orderPurchaseUpdateRequest)

Send an update for a transaction The Order Purchase Update API is called when the status of the order has changed. For example, if the customer cancels the reservation, changes reservation in any way, or adds additional products or travelers to the reservation, the Order Purchase Update API is called to notify Expedia Group about the change. The Order Purchase Update API is also called when the merchant cancels or changes an order based on a Fraud recommendation.

Link copied to clipboard
@Deprecated(message = "Use execute method instead", replaceWith = @ReplaceWith(imports = {}, expression = "execute(operation: UpdateOrderPurchaseOperation)"))
public final <Error class: unknown class><OrderPurchaseUpdateResponse> updateOrderPurchaseWithResponse(OrderPurchaseUpdateRequest orderPurchaseUpdateRequest)

Send an update for a transaction The Order Purchase Update API is called when the status of the order has changed. For example, if the customer cancels the reservation, changes reservation in any way, or adds additional products or travelers to the reservation, the Order Purchase Update API is called to notify Expedia Group about the change. The Order Purchase Update API is also called when the merchant cancels or changes an order based on a Fraud recommendation.