Input fields used to define a transaction for risk evaluation.
amountMonetaryAmount of a transaction under risk evaluation.
billing AddressAddressBilling address for the transaction.
customer DetailsTransactionCustomer information to be stored on the transaction and used for fraud protection. Use this if you wish to pass customer information on a transaction without creating an independent stored customer record in the vault.
This parameter can only be used if you do not pass customerId, and if you are not using a vaulted/multi-use payment method. In other words, this field is only valid when the transaction will not be associated with an existing customer.
customer IdIDIf charging a single-use payment method, optional ID of a customer to associate the transaction with. If vaulting the single-use payment method, this customer will be associated with the resulting multi-use payment method.
external ProcessorExternalThe payment processor handling the transaction.
fraud Protection Custom Fields[FraudCollection of Fraud Protection custom field/value pairs passed through for Fraud Protection rule evaluation. No field definition is required up-front.
line Items[TransactionLine items for this transaction. Up to 249 line items may be specified.
Required for Level 3 processing.
payment InitiatorPaymentThe initiator of the payment. Payment can either be merchant-initiated or customer-initiated. If the transaction is an ecommerce transaction initiated by the customer, no value is passed.
risk DataRiskCustomer device information, which is sent directly for fraud analysis.
shipping AddressAddressShipping address for the transaction.
input TransactionRiskEvaluateInput {
amount: MonetaryAmountInput!
externalProcessor: ExternalProcessor
orderId: String
riskData: RiskDataInput
fraudProtectionCustomFields: [FraudProtectionCustomFieldInput!]
paymentInitiator: PaymentInitiator
customerId: ID
customerDetails: TransactionCustomerDetailsInput
shippingAddress: AddressInput
billingAddress: AddressInput
lineItems: [TransactionLineItemInput!]
}