Young Living Common Docs
Detailed Fraud CheckFraud Service

Home

Detailed Fraud Check

Method to ask for and receive a fraud check. This is the current method in use when a Kafka message is received.

Environments

EnvironmentBaseUrlDeep Health Check
Testhttps://ext12fraud.yleo.us/Deep Health Check
Devhttps://env11fraud.yleo.us/Deep Health Check
Stagehttps://clonefraud.yleo.us/Deep Health Check
Prodhttps://prodfraud.yleo.us/Deep Health Check

Usage

HttpMethod: POST URL: /service-client-request/Yleo.Fraud.Client.DetailedFraudCheck.DetailedFraudCheckRequest ContentType: JSON

Request

PropertyTypeRequiredDetails
customerData.currencyCodestringtrueThe alpha currency code.
customerData.orderTotaldecimaltrue
customerData.pointValuedecimalfalse
customerData.alternateIdstringtrueThe order id.
customerData.sessionIdstringtrueThe id to identify this fraud session.
customerData.isReactivatingOrderbooltrue
customerData.walletIdguidtrue
customerData.emailstringtrue
customerData.sourceIdinttrueSkavaWebsite = 71, SkavaSubscription = 72
customerData.shippingPhoneNumberstringtrue
customerData.shippingMethodIdlongtrue
customerData.countryIsoCode2stringtrueThe 2 character alpha code.
customerData.shippingAddress.shippingNamestringtrue
customerData.shippingAddress.street1stringtrue
customerData.shippingAddress.street2stringfalse
customerData.shippingAddress.statestringtrueTwo character alpha code.
customerData.shippingAddress.postalCodestringtrue
customerData.shippingAddress.citystringtrue
customerData.shippingAddress.countryIsoCode2stringtrueTwo character alpha code.
customerData.uplinestringfalse
itemData.[].namestringtrue
itemData.[].itemIdlongtrue
itemData.[].partNumberstringtrue
itemData.[].pricedecimaltrue
itemData.[].quantityinttrue
{
   "customerData":
   {
      "currencyCode": "",
      "orderTotal": "",
      "pointValue": "",
      "alternateId": "",
      "sessionId": "",
      "isReactivatingOrder": "",
      "walletId": "",
      "email": "",
      "sourceId": "",
      "shippingPhoneNumber": "",
      "shippingMethodId": "",
      "countryIsoCode2": "",
      "ShippingAddress":
      {
         "shippingName": "",
         "street1": "",
         "street2": "",
         "state": "",
         "postalCode": "",
         "city": "",
         "countryIsoCode2": "",
      },
      "Upline": "",
   },
   "itemData": [
      {
         "name": "",
         "itemId": 456,
         "partNumber": "1234",
         "price": 0.00,
         "quantity": 1,
      }
   ]
}

Success Response

PropertyTypeDetails
resultstringApproved, Declined, Escalate, Review, NotPerformed
kountTransactionIdstring
{
   "result": "Approved",
   "kountTransactionId": "0"
}

Exception Response

PropertyTypeDetails
conditionstringTransient, Permanent
messagestring
{
   "condition": "Transient",
   "message": "Failed"
}