Anti-fraud

Sell only to these countries: when on, checkout refuses buyers whose detected country is not listed or is unknown (whitelisted buyers still pass)

PUT
/v1/stores/{storeId}/anti-fraud/countries

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/stores/string/anti-fraud/countries" \  -H "Content-Type: application/json" \  -d '{    "enabled": true,    "countries": [      "string"    ]  }'
{  "enabled": true,  "countries": [    "st"  ],  "customerMessage": "string"}