{"_id":"59a45d447ee621000fc9d3d7","category":{"_id":"59a45d447ee621000fc9d3c3","version":"59a45d437ee621000fc9d3b7","project":"57336fd5a6a9c40e00e13a0b","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-10-15T16:21:09.840Z","from_sync":false,"order":11,"slug":"errors","title":"Errors"},"parentDoc":null,"project":"57336fd5a6a9c40e00e13a0b","user":"560d5913af97231900938124","version":{"_id":"59a45d437ee621000fc9d3b7","project":"57336fd5a6a9c40e00e13a0b","__v":1,"createdAt":"2017-08-28T18:13:23.840Z","releaseDate":"2017-08-28T18:13:23.840Z","categories":["59a45d447ee621000fc9d3b8","59a45d447ee621000fc9d3b9","59a45d447ee621000fc9d3ba","59a45d447ee621000fc9d3bb","59a45d447ee621000fc9d3bc","59a45d447ee621000fc9d3bd","59a45d447ee621000fc9d3be","59a45d447ee621000fc9d3bf","59a45d447ee621000fc9d3c0","59a45d447ee621000fc9d3c1","59a45d447ee621000fc9d3c2","59a45d447ee621000fc9d3c3","59a45d447ee621000fc9d3c4","59a45d447ee621000fc9d3c5","59a45d447ee621000fc9d3c6","59a45d447ee621000fc9d3c7"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.22.1","version_clean":"8976.0.0-XML","version":"8976-XML"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-12-28T16:15:46.547Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":38,"body":"When a transaction triggers fraud rules, BlueSnap returns the following error:\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Code\",\n    \"h-1\": \"Name\",\n    \"h-2\": \"Description\",\n    \"0-0\": \"15011\",\n    \"0-1\": \"FRAUD_DETECTED\",\n    \"0-2\": \"The fraud error message includes a `fraud-events` resource with the following information:\\n  * an ID for the fraud event\\n  * an indication of what fraud rule or configurable threshold was triggered and why\\n  * an indication of whether the transaction was declined or held for review\"\n  },\n  \"cols\": 3,\n  \"rows\": 1\n}\n[/block]\nIf a transaction triggers multiple fraud rules, then multiple `fraud-event` resources (one for each  triggered fraud rule or threshold) may be sent within the `fraud-events` resource for that transaction. See the **Multiple fraud events** example below.\n\nFor a complete description of the `fraud-events` and `fraud-event` resources and the values that can appear in each, see:\n  * [fraud-events](doc:fraud-event) \n  * [fraud-event](fraud-event#fraudevent) \n\nMerchants who enroll in the Merchant Configurable fraud prevention service will receive additional fraud detail if an order triggers one of the rules they have configured. For information about fraud prevention service levels supported by BlueSnap, see [Fraud prevention](/v1.0/docs/fraud-prevention).\n\n###Sample fraud error messages\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<messages xmlns=\\\"http://ws.plimus.com\\\">\\n    <message>\\n    \\t<error-name>FRAUD_DETECTED</error-name>\\n      <code>15011</code>\\n      <description>\\n      The request cannot be fulfilled for the current shopper. Please contact BlueSnap support for further details.\\n      </description>\\n      <fraud-events>\\n       <fraud-reference-id>3565</fraud-reference-id>\\n       <fraud-event>\\n          <fraud-event-code>billShipAddressNotMatchDecline</fraud-event-code>\\n          <fraud-event-decision>D</fraud-event-decision>\\n          <fraud-event-expression>billing_address != shipping_address</fraud-event-expression>\\n       </fraud-event>\\n    \\t<fraud-event>\\n           <fraud-event-code>blacklistshippingcountrydecline</fraud-event-code>\\n           <fraud-event-decision>D</fraud-event-decision>\\n           <fraud-event-expression>AD is in list</fraud-event-expression>\\n    \\t</fraud-event>\\n    </fraud-events>\\n    </message>\\n</messages>      \",\n      \"language\": \"xml\",\n      \"name\": \"Multiple fraud events\"\n    },\n    {\n      \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<messages xmlns=\\\"http://ws.plimus.com\\\">\\n  <message>\\n    <error-name>FRAUD_DETECTED</error-name>\\n    <code>15011</code>\\n    <description>\\n      The request cannot be fulfilled for the current shopper. Please contact BlueSnap support for further details.\\n    </description>\\n    <fraud-events>\\n      <fraud-reference-id>3565</fraud-reference-id>\\n    </fraud-events>\\n  </message>\\n</messages> \",\n      \"language\": \"xml\",\n      \"name\": \"Single fraud event\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"In the multiple fraud events example above, the second `fraud-event` was the triggering of the shipping country blacklist (the value of the `fraud-event-code` is **blacklistshippingcountrydecline**). This `fraud-event-expression` property says that this rule was triggered because **AD is in list**. That means that the shopper entered Andorra (country code AD) as the shipping country, and that Andorra is on the blacklist.\",\n  \"title\": \"Note regarding multiple fraud events\"\n}\n[/block]","excerpt":"","slug":"fraud-errors","type":"basic","title":"Fraud Errors"}

When a transaction triggers fraud rules, BlueSnap returns the following error:

Code
Name
Description

15011

FRAUD_DETECTED

The fraud error message includes a fraud-events resource with the following information:

  • an ID for the fraud event
  • an indication of what fraud rule or configurable threshold was triggered and why
  • an indication of whether the transaction was declined or held for review

If a transaction triggers multiple fraud rules, then multiple fraud-event resources (one for each triggered fraud rule or threshold) may be sent within the fraud-events resource for that transaction. See the Multiple fraud events example below.

For a complete description of the fraud-events and fraud-event resources and the values that can appear in each, see:

Merchants who enroll in the Merchant Configurable fraud prevention service will receive additional fraud detail if an order triggers one of the rules they have configured. For information about fraud prevention service levels supported by BlueSnap, see Fraud prevention.

Sample fraud error messages

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<messages xmlns="http://ws.plimus.com">
    <message>
    	<error-name>FRAUD_DETECTED</error-name>
      <code>15011</code>
      <description>
      The request cannot be fulfilled for the current shopper. Please contact BlueSnap support for further details.
      </description>
      <fraud-events>
       <fraud-reference-id>3565</fraud-reference-id>
       <fraud-event>
          <fraud-event-code>billShipAddressNotMatchDecline</fraud-event-code>
          <fraud-event-decision>D</fraud-event-decision>
          <fraud-event-expression>billing_address != shipping_address</fraud-event-expression>
       </fraud-event>
    	<fraud-event>
           <fraud-event-code>blacklistshippingcountrydecline</fraud-event-code>
           <fraud-event-decision>D</fraud-event-decision>
           <fraud-event-expression>AD is in list</fraud-event-expression>
    	</fraud-event>
    </fraud-events>
    </message>
</messages>      
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<messages xmlns="http://ws.plimus.com">
  <message>
    <error-name>FRAUD_DETECTED</error-name>
    <code>15011</code>
    <description>
      The request cannot be fulfilled for the current shopper. Please contact BlueSnap support for further details.
    </description>
    <fraud-events>
      <fraud-reference-id>3565</fraud-reference-id>
    </fraud-events>
  </message>
</messages> 

Note regarding multiple fraud events

In the multiple fraud events example above, the second fraud-event was the triggering of the shipping country blacklist (the value of the fraud-event-code is blacklistshippingcountrydecline). This fraud-event-expression property says that this rule was triggered because AD is in list. That means that the shopper entered Andorra (country code AD) as the shipping country, and that Andorra is on the blacklist.