Traders for an override

.md

Traders matching a name or email, for a new override, with the detectors they already have one on.

Scopesadmin:read
Permissionview_fraud
GET/v1/admin/fraud/overrides/traders

The picker of a new override: up to ten traders of the firm whose name or email matches, by name. Each carries the overrides they already have, because a trader has one per detector at most and a second one is refused.

Needs a firm. Our own staff name one with the Propper-Workspace header.

Request

ParameterDescription
qAt least two characters, or the answer is an empty list
curl "https://api.proppertrading.com/v1/admin/fraud/overrides/traders?q=tomasz" \
  -H "Authorization: Bearer ptat_9f2c1a44_3b8e7d2f5c9a1b4e6d8f0a2c4e6b8d1f" \
  -H "Propper-Workspace: acme"

Response

{ "data": [ { "object": "fraud_trader", "id": "usr_aqms4nt797jdkttb", "name": "Tomasz Ahmed", "email": "[email protected]", "overrides": [] }, { "object": "fraud_trader", "id": "usr_6byt4uys5qp8gp7e", "name": "Tomasz Ahmed", "email": "[email protected]", "overrides": [] }, { "object": "fraud_trader", "id": "usr_3mc4m89ax3excay2", "name": "Tomasz Ahmed", "email": "[email protected]", "overrides": [ { "id": "fovr_n936unrak5zz8u2k", "detector": "max_countries" } ] }, { "object": "fraud_trader", "id": "usr_59679j48zf57guya", "name": "Tomasz Bakker", "email": "[email protected]", "overrides": [] }, { "object": "fraud_trader", "id": "usr_9es2q8yxfdbsy8m5", "name": "Tomasz Bakker", "email": "[email protected]", "overrides": [] }, { "object": "fraud_trader", "id": "usr_8fee6npax8986bpf", "name": "Tomasz Berg", "email": "[email protected]", "overrides": [] }, { "object": "fraud_trader", "id": "usr_8ffzwdsnm763636m", "name": "Tomasz Brennan", "email": "[email protected]", "overrides": [] }, { "object": "fraud_trader", "id": "usr_febfabx4mq5rrsgq", "name": "Tomasz Costa", "email": "[email protected]", "overrides": [] }, { "object": "fraud_trader", "id": "usr_upz95jcgwkr943wz", "name": "Tomasz Costa", "email": "[email protected]", "overrides": [] }, { "object": "fraud_trader", "id": "usr_uafqwaaa4purvh56", "name": "Tomasz Costa", "email": "[email protected]", "overrides": [] } ], "meta": { "request_id": "req_01m50zcmdp7qwgaez02nyqt4by", "has_more": false, "next_cursor": null } }

Errors

StatusCodeMeaning
400workspace_requiredAsked by our own staff without naming a firm
400validation_failedq is not text
401invalid_tokenNot a token, or the secret does not match
401revoked_tokenSigned out here or from another device
401expired_tokenNinety days without use, or a set expiry passed
403admin_access_requiredThis account no longer helps run the environment
403insufficient_scopeThis device does not hold admin:read
403workspace_not_permittedThe Propper-Workspace header names an environment this account cannot act in
403forbiddenWithout view_fraud