Shield
Fraud detection — configure risk thresholds, manage blocklists and view fraud statistics.
GET
https://api.wajub.com/shield/settingsShield is Wajub's built-in fraud detection system. Configure risk thresholds, block specific customers or IPs, and monitor fraud statistics from the API.
Live environment required
Shield endpoints require the sk.… private key and are only available in the live environment.
Key endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /shield/settings | View current fraud detection settings |
PUT | /shield/settings | Update fraud detection thresholds |
GET | /shield/stats | View fraud statistics |
GET | /shield/blocklist | List blocked customers and IPs |
POST | /shield/blocklist | Add an entry to the blocklist |
DELETE | /shield/blocklist/{id} | Remove an entry from the blocklist |
Authentication
Shield requires a private key (sk.…) — public keys cannot access this resource.
See Authentication.
GET
https://api.wajub.com/shield/settingscurl https://api.wajub.com/shield/settings \
-H "Authorization: sk.xxxxxxxxxxxxxxxxxxxxxxxx"Response
{
"status": "OK",
"code": 200,
"settings": {
"block_on_fraud_score": true,
"fraud_score_threshold": 80,
"require_3ds_threshold": 60,
"auto_block_chargebacks": true
}
}