Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.45 KB

File metadata and controls

30 lines (24 loc) · 1.45 KB

UltracartClient::FraudRuleFromOrderRequest

Properties

Name Type Description Notes
auto_note String Note automatically appended to the order's merchant note when these rules fire. [optional]
establish_address_filter Boolean Establish an 'address street and zip avs' rule from the order's ship-to street and zip. [optional]
establish_card_filter Boolean Establish a 'credit card matches' rule by duplicating the order's stored card vault token. Skipped if the order has no stored card. [optional]
establish_email_filter Boolean Establish an 'address email' rule from the order's email address. [optional]
establish_ip_filter Boolean Establish an 'ip matches' subnet rule from the order's customer IP address (last octet masked to a subnet). [optional]
failure_action String Action to take when these rules fire. Defaults to 'Flag For Review' when omitted. [optional]
order_id String The order id to establish the fraud rule(s) from. [optional]

Example

require 'ultracart_api'

instance = UltracartClient::FraudRuleFromOrderRequest.new(
  auto_note: null,
  establish_address_filter: null,
  establish_card_filter: null,
  establish_email_filter: null,
  establish_ip_filter: null,
  failure_action: null,
  order_id: null
)