> For the complete documentation index, see [llms.txt](https://cardknox.gitbook.io/sola-dev-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cardknox.gitbook.io/sola-dev-docs/api-reference/security-api/fraud.md). Agents can also search and read this documentation through its [MCP server](https://cardknox.gitbook.io/sola-dev-docs/~gitbook/mcp).

# Fraud

## Submit

> \*\*Path\*\*: \`/gatewayjson\` \*\*xCommand\*\*: \`fraud:submit\` POST to \*\*\`/gatewayjson\`\*\* with \*\*\`xCommand\`\*\* = \`fraud:submit\` to run \*\*Submit\*\*. Use this endpoint to submit a fraud check request. Provide the required transaction and customer signals so the gateway can evaluate the submission and return a result that you can use to inform risk decisions in your checkout or payment flow.<br>

```json
{"openapi":"3.0.3","info":{"title":"Sola Payments - Fraud APIs","version":"1.0.0"},"tags":[{"name":"Fraud"}],"servers":[{"url":"https://x1.cardknox.com","description":"Default API host"}],"paths":{"/gatewayjson:fraudsubmit":{"post":{"summary":"Submit","description":"**Path**: `/gatewayjson` **xCommand**: `fraud:submit` POST to **`/gatewayjson`** with **`xCommand`** = `fraud:submit` to run **Submit**. Use this endpoint to submit a fraud check request. Provide the required transaction and customer signals so the gateway can evaluate the submission and return a result that you can use to inform risk decisions in your checkout or payment flow.\n","operationId":"API_045_fraudsubmit","tags":["Fraud"],"deprecated":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"xKey":{"type":"string","description":"Your Sola API key."},"xVersion":{"type":"string","description":"Gateway API version. The current version is 5.0.0."},"xSoftwareName":{"type":"string","description":"Name of your software."},"xSoftwareVersion":{"type":"string","description":"Version number of your software."},"xCommand":{"type":"string","description":"Sola transaction type. Use fraud:submit.","const":"fraud:submit"},"xCardNum":{"type":"string","description":"","format":"pan","minLength":12,"maxLength":19},"xAmount":{"type":"string","description":"Total amount of the transaction.","format":"currency","minLength":1,"maxLength":12},"xInvoice":{"type":"string","description":"Merchant invoice number for the transaction."},"xIP":{"type":"string","description":"Customer IP address. Used for fraud detection."},"xEmail":{"type":"string","description":"Customer email address."},"xBillFirstName":{"type":"string","description":"Customer first name for billing profile."},"xBillLastName":{"type":"string","description":"Customer last name for billing profile."},"xBillStreet":{"type":"string","description":"Customer street address for billing."},"xBillCity":{"type":"string","description":"Customer city for billing profile."},"xBillState":{"type":"string","description":"Customer state for billing profile."},"xBillZip":{"type":"string","description":"Customer zip code for billing profile."},"xBillPhone":{"type":"string","description":"Customer phone for billing profile."},"xShipFirstName":{"type":"string","description":"Customer first name for shipping."},"xShipLastName":{"type":"string","description":"Customer last name for shipping."},"xShipStreet":{"type":"string","description":"Customer street address for shipping."},"xShipCity":{"type":"string","description":"Customer city for shipping."},"xShipState":{"type":"string","description":"Customer state for shipping."},"xShipZip":{"type":"string","description":"Customer zip for shipping."},"xShipPhone":{"type":"string","description":"Customer phone for shipping."},"xGatewayRefNum":{"type":"string","description":"Transaction RefNum from gateway for FraudWatch verification."},"xGatewayResult":{"type":"string","description":"Transaction status from gateway (Approved/Declined/Error)."},"xGatewayCVV":{"type":"string","description":"CVV result for FraudWatch verification."},"xGatewayAVS":{"type":"string","description":"AVS result for FraudWatch verification."},"xOrderType":{"type":"string","description":"Order origin: Internet or Phone."},"xExistingCustomer":{"type":"string","description":"Yes/No if customer is repeat customer."},"xShipEmail":{"type":"string","description":"ShipTo email address."},"xOrderID":{"type":"string","description":"Unique order number for FraudWatch verification."},"xCustom01":{"type":"string","description":"Custom field 01. Use xCustom01 through xCustom20."},"xGatewayError":{"type":"string","description":"Error from gateway for FraudWatch verification."},"xOrderItems":{"type":"string","description":"Summary of products ordered."},"xShipMethod":{"type":"string","description":"Shipping carrier/service used."},"xShipAmount":{"type":"string","description":"Total cost of shipping charges."}},"required":["xKey","xVersion","xSoftwareName","xSoftwareVersion","xCommand","xCardNum","xAmount","xInvoice","xIP","xEmail","xBillFirstName","xBillLastName","xBillStreet","xBillCity","xBillState","xBillZip","xBillPhone","xShipFirstName","xShipLastName","xShipStreet","xShipCity","xShipState","xShipZip","xShipPhone","xGatewayRefNum","xGatewayResult","xGatewayCVV","xGatewayAVS","xOrderType","xExistingCustomer","xShipEmail"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"xResult":{"type":"string","description":"Fraud check result code."},"xStatus":{"type":"string","description":"Result verbiage."},"xRefNum":{"type":"string","description":"Sola reference number."},"xError":{"type":"string","description":"Error message if applicable."},"xErrorCode":{"type":"string","description":"Gateway error code (00000 = success)."},"xInvoice":{"type":"string","description":"Invoice/reference returned by gateway."},"xAvsResultCode":{"type":"string","description":"Raw AVS result code."},"xAvsResult":{"type":"string","description":"AVS result description."},"xCvvResultCode":{"type":"string","description":"Raw CVV result code."},"xCvvResult":{"type":"string","description":"CVV result description."},"xAuthAmount":{"type":"string","description":"Authorized amount."},"xMaskedCardNumber":{"type":"string","description":"Masked card number for display."},"xCardType":{"type":"string","description":"Card brand/type (e.g. Visa)."},"xName":{"type":"string","description":"Cardholder name."},"xMID":{"type":"string","description":"Merchant ID (masked)."},"xTID":{"type":"string","description":"Terminal ID (masked)."},"xCurrency":{"type":"string","description":"Currency code."},"xDate":{"type":"string","description":"Transaction date/time as returned by gateway."},"xFraudStatus":{"type":"string","description":"Fraud status/result (e.g. 1)."},"xEntryMethod":{"type":"string","description":"Entry method (e.g. Keyed)."}}}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cardknox.gitbook.io/sola-dev-docs/api-reference/security-api/fraud.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
