{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"Fraud Errors","type":"basic","slug":"fraud-errors","excerpt":"","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 \"1-0\": \"15011\",\n \"1-1\": \"FRAUD_ERROR\",\n \"1-2\": \"This error can indicate an invalid card or an invalid site is being used for the transaction.\\n\\nThis fraud error message includes a `fraud-events` object containing an ID for the fraud event.\"\n },\n \"cols\": 3,\n \"rows\": 2\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](/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-transaction-id>DSYK0G9YPJYS</fraud-transaction-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-transaction-id>DSYK0G9YPJYS</fraud-transaction-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]","updates":[],"order":3,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"61a5033cd3c4d201e7b583e6","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Errors","slug":"errors","order":7,"from_sync":false,"reference":false,"_id":"61a5033cd3c4d201e7b583c1","version":"61a5033cd3c4d201e7b5848b","project":"57336fd5a6a9c40e00e13a0b","createdAt":"2015-10-15T16:21:09.840Z","__v":0},"parentDoc":null,"user":"560d5913af97231900938124","project":"57336fd5a6a9c40e00e13a0b","version":{"version":"8976-Extended","version_clean":"8976.0.0-Extended","codename":"3.40 Release","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["61a5033cd3c4d201e7b583ba","61a5033cd3c4d201e7b583bb","61a5033cd3c4d201e7b583bc","61a5033cd3c4d201e7b583bd","61a5033cd3c4d201e7b583be","61a5033cd3c4d201e7b583bf","61a5033cd3c4d201e7b583c0","61a5033cd3c4d201e7b583c1","61a5033cd3c4d201e7b583c2","61a5033cd3c4d201e7b583c3","61a5033cd3c4d201e7b583c4"],"_id":"61a5033cd3c4d201e7b5848b","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"6040037678d626005641a154","createdAt":"2018-04-24T15:33:45.744Z","releaseDate":"2018-04-24T15:33:45.744Z"},"createdAt":"2015-12-28T16:15:46.547Z","githubsync":"","__v":0}
Fraud Errors
When a transaction triggers fraud rules, BlueSnap returns the following error:
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
15011
FRAUD_ERROR
This error can indicate an invalid card or an invalid site is being used for the transaction.
This fraud error message includes a fraud-events
object containing an ID for the fraud event.
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
<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-transaction-id>DSYK0G9YPJYS</fraud-transaction-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>
<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-transaction-id>DSYK0G9YPJYS</fraud-transaction-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.