> 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/setting-api/cardknox-settings.md). Agents can also search and read this documentation through its [MCP server](https://cardknox.gitbook.io/sola-dev-docs/~gitbook/mcp).

# Cardknox Settings

## Get Cardknox Settings

> Use this endpoint to retrieve Cardknox settings for a specific settings group. It is useful for loading account-level configuration values used by downstream integrations, operational workflows, or environment-specific setup.<br>

```json
{"openapi":"3.0.3","info":{"title":"Sola Payments - Cardknox Settings APIs","version":"1.0.0"},"tags":[{"name":"Cardknox Settings"}],"servers":[{"url":"https://us-west-2.settings.cardknox.com","description":"Default API host"}],"paths":{"/v1/GetCardknoxSettings":{"post":{"summary":"Get Cardknox Settings","description":"Use this endpoint to retrieve Cardknox settings for a specific settings group. It is useful for loading account-level configuration values used by downstream integrations, operational workflows, or environment-specific setup.\n","operationId":"API_088_GetCardknoxSettings","tags":["Cardknox Settings"],"deprecated":false,"parameters":[{"in":"header","name":"Authorization","required":true,"schema":{"type":"string"},"description":"This endpoint is authenticated using your Sola API key. Include the key in the `Authorization` header.\n"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"SettingsGroup":{"type":"string","description":"Settings group to load. Valid values: IPN Fraud AdvancedFraudFeatures.","X-required-conditional":false,"X-condition-logic":""}},"required":["SettingsGroup"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"RefNum":{"type":"string","description":"Reference number for the request."},"Status":{"type":"string","description":"Success or Error."},"Error":{"type":"string","description":"Error message if Status is Error."},"CardknoxSettings":{"type":"object","description":"Key-value dictionary of settings. Keys vary by SettingsGroup."}}}}}}}}}}}
```

## Update Cardknox Settings

> Use this endpoint to update Cardknox settings for a specific settings group. Use it when account-level configuration values need to be changed so related integrations or operational behaviors reflect the updated settings.<br>

```json
{"openapi":"3.0.3","info":{"title":"Sola Payments - Cardknox Settings APIs","version":"1.0.0"},"tags":[{"name":"Cardknox Settings"}],"servers":[{"url":"https://us-west-2.settings.cardknox.com","description":"Default API host"}],"paths":{"/v1/UpdateCardknoxSettings":{"post":{"summary":"Update Cardknox Settings","description":"Use this endpoint to update Cardknox settings for a specific settings group. Use it when account-level configuration values need to be changed so related integrations or operational behaviors reflect the updated settings.\n","operationId":"API_089_UpdateCardknoxSettings","tags":["Cardknox Settings"],"deprecated":false,"parameters":[{"in":"header","name":"Authorization","required":true,"schema":{"type":"string"},"description":"This endpoint is authenticated using your Sola API key. Include the key in the `Authorization` header.\n"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"SettingsGroup":{"type":"string","description":"Settings group to load. Valid values: IPN Fraud AdvancedFraudFeatures.","X-required-conditional":false,"X-condition-logic":""},"CardknoxSettings":{"type":"object","description":"Key-value dictionary. Keys must be valid for the selected SettingsGroup. Call GetCardknoxSettings first to see current values. Set to default value to remove a setting.","X-required-conditional":false,"X-condition-logic":""},"IPN_URL":{"type":"string","description":"The URL where Cardknox will send webhook notifications. Valid URL.\n\n**Conditional:** Required when updating IPN group. Key within CardknoxSettings.\n","X-required-conditional":true,"X-condition-logic":"Required when updating IPN group. Key within CardknoxSettings.","maxLength":2048},"IPN_Pin":{"type":"string","description":"Optional security PIN for webhook. Alpha-numeric at least 15 chars. Used to generate ck-signature header.\n\n**Conditional:** Required when updating IPN group. Key within CardknoxSettings.\n","X-required-conditional":true,"X-condition-logic":"Required when updating IPN group. Key within CardknoxSettings.","minLength":15,"maxLength":64},"IPN_CustomAdjustFields":{"type":"string","description":"Customize postback response fields for adjust transactions. Comma-separated list of field names.\n\n**Conditional:** Key within CardknoxSettings for IPN group.\n","X-required-conditional":true,"X-condition-logic":"Key within CardknoxSettings for IPN group."},"IPN_CustomTransactionFields":{"type":"string","description":"Customize postback response fields for all transactions. Comma-separated list of field names.\n\n**Conditional:** Key within CardknoxSettings for IPN group.\n","X-required-conditional":true,"X-condition-logic":"Key within CardknoxSettings for IPN group."},"CVV":{"type":"string","description":"Choose specific CVV mismatch codes to decline. Comma-separated: N (No Match) S (Should be On card but Not indicated).\n\n**Conditional:** Key within CardknoxSettings for Fraud group.\n","X-required-conditional":true,"X-condition-logic":"Key within CardknoxSettings for Fraud group."},"AVS":{"type":"string","description":"Choose specific AVS mismatch codes to decline. Comma-separated list of AVS mismatch codes.\n\n**Conditional:** Key within CardknoxSettings for Fraud group.\n","X-required-conditional":true,"X-condition-logic":"Key within CardknoxSettings for Fraud group."},"AVS_USOnly":{"type":"boolean","description":"Allow transactions with AVS mismatch on any non-US card. true/false. Default false.\n\n**Conditional:** Key within CardknoxSettings for Fraud group.\n","X-required-conditional":true,"X-condition-logic":"Key within CardknoxSettings for Fraud group."},"IgnoreDuplicate":{"type":"boolean","description":"Ignore duplicate transaction check. true/false.\n\n**Conditional:** Key within CardknoxSettings for Fraud group.\n","X-required-conditional":true,"X-condition-logic":"Key within CardknoxSettings for Fraud group."},"AFF_WhiteList_IPs":{"type":"string","description":"Only allow transactions from whitelisted IP addresses. Comma-separated list of IP addresses.\n\n**Conditional:** Key within CardknoxSettings for AdvancedFraudFeatures group.\n","X-required-conditional":true,"X-condition-logic":"Key within CardknoxSettings for AdvancedFraudFeatures group."},"AFF_Allow_Country":{"type":"string","description":"Only allow transactions from specific countries. Comma-separated country codes or names.\n\n**Conditional:** Key within CardknoxSettings for AdvancedFraudFeatures group.\n","X-required-conditional":true,"X-condition-logic":"Key within CardknoxSettings for AdvancedFraudFeatures group."},"AFF_Allow_Country_BlockOnFailure":{"type":"boolean","description":"Block when AFF_Allow_Country is set and country lookup fails. true/false. Default false.\n\n**Conditional:** Key within CardknoxSettings for AdvancedFraudFeatures group.\n","X-required-conditional":true,"X-condition-logic":"Key within CardknoxSettings for AdvancedFraudFeatures group."},"AFF_Block_CardBin":{"type":"string","description":"Block transactions from specific card BINs. Comma-separated 6 or 8 digit BINs.\n\n**Conditional:** Key within CardknoxSettings for AdvancedFraudFeatures group.\n","X-required-conditional":true,"X-condition-logic":"Key within CardknoxSettings for AdvancedFraudFeatures group."},"AFF_Block_Email":{"type":"string","description":"Block transactions from specific email addresses. Comma-separated list.\n\n**Conditional:** Key within CardknoxSettings for AdvancedFraudFeatures group.\n","X-required-conditional":true,"X-condition-logic":"Key within CardknoxSettings for AdvancedFraudFeatures group."},"AffBlockName":{"type":"string","description":"Block transactions from specific names. Comma-separated list of names.\n\n**Conditional:** Key within CardknoxSettings for AdvancedFraudFeatures group.\n","X-required-conditional":true,"X-condition-logic":"Key within CardknoxSettings for AdvancedFraudFeatures group."},"AFF_Block_IP":{"type":"string","description":"Block transactions from specific IP addresses. Comma-separated list.\n\n**Conditional:** Key within CardknoxSettings for AdvancedFraudFeatures group.\n","X-required-conditional":true,"X-condition-logic":"Key within CardknoxSettings for AdvancedFraudFeatures group."},"AFF_Block_IP_3":{"type":"string","description":"Block by IP range. Comma-separated with star after first 3 octets (e.g. 123.123.123.\n\n**Conditional:** Key within CardknoxSettings for AdvancedFraudFeatures group.\n","X-required-conditional":true,"X-condition-logic":"Key within CardknoxSettings for AdvancedFraudFeatures group."},"AFF_Block_IP_4":{"type":"string","description":"Block transactions from specific IP addresses. Comma-separated list.\n\n**Conditional:** Key within CardknoxSettings for AdvancedFraudFeatures group.\n","X-required-conditional":true,"X-condition-logic":"Key within CardknoxSettings for AdvancedFraudFeatures group."},"AFF_Block_Keyed":{"type":"boolean","description":"Block keyed transactions. true/false. Default false.\n\n**Conditional:** Key within CardknoxSettings for AdvancedFraudFeatures group.\n","X-required-conditional":true,"X-condition-logic":"Key within CardknoxSettings for AdvancedFraudFeatures group."},"AFF_Velocity_NumberOfCards":{"type":"integer","description":"Block after N declined cards from single IP within 10 minutes. -1 to disable. Default -1.\n\n**Conditional:** Key within CardknoxSettings for AdvancedFraudFeatures group.\n","X-required-conditional":true,"X-condition-logic":"Key within CardknoxSettings for AdvancedFraudFeatures group."},"BlockAddressPoBox":{"type":"boolean","description":"Block transactions with PO Box address. true/false. Default false.\n\n**Conditional:** Key within CardknoxSettings for AdvancedFraudFeatures group.\n","X-required-conditional":true,"X-condition-logic":"Key within CardknoxSettings for AdvancedFraudFeatures group."},"BlockPrepaid":{"type":"boolean","description":"Block prepaid cards. true/false. Default false.\n\n**Conditional:** Key within CardknoxSettings for AdvancedFraudFeatures group.\n","X-required-conditional":true,"X-condition-logic":"Key within CardknoxSettings for AdvancedFraudFeatures group."},"BlockNonUSCanada":{"type":"boolean","description":"Block transactions from non-US and non-Canada countries. true/false. Default false.\n\n**Conditional:** Key within CardknoxSettings for AdvancedFraudFeatures group.\n","X-required-conditional":true,"X-condition-logic":"Key within CardknoxSettings for AdvancedFraudFeatures group."},"AFF_BlockCardByPaymentId":{"type":"string","description":"Block by xPaymentID. Comma-separated xPaymentID_xMaskedCardNumber_xRefnum (xRefnum optional).\n\n**Conditional:** Key within CardknoxSettings for AdvancedFraudFeatures group.\n","X-required-conditional":true,"X-condition-logic":"Key within CardknoxSettings for AdvancedFraudFeatures group."}},"required":["SettingsGroup","CardknoxSettings"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"RefNum":{"type":"string","description":"Reference number for the request."},"Status":{"type":"string","description":"Success or Error."},"Error":{"type":"string","description":"Error message if Status is Error."},"CardknoxSettings":{"type":"object","description":"Updated settings returned after successful save."}}}}}}}}}}}
```


---

# 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/setting-api/cardknox-settings.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.
