Skip to main content
PATCH
Update your program’s fraud detection rules. All fields are optional. If no fraud rules exist yet, they will be created with defaults. Each rule mode accepts one of three values:
  • off — Rule is disabled
  • detect — Flag suspicious activity but allow the action
  • block — Prevent the action entirely

Body Parameters

string
Self-referral detection mode. Valid values: off, detect, block.
string
Cross-program ban detection mode. Valid values: off, detect, block.
string
Duplicate payout detection mode. Valid values: off, detect, block.
string
Suspicious email detection mode. Valid values: off, detect, block.
string
Banned referral detection mode. Valid values: off, detect, block.
string
Paid traffic detection mode. Valid values: off, detect, block.
string
Blocked country detection mode. Valid values: off, detect, block.
object | null
Configuration for banned referral detection. Set to null to clear.
object | null
Configuration for blocked country detection (e.g. {"countries": ["CN", "RU"]}). Set to null to clear.
object | null
Configuration for paid traffic detection. Set to null to clear.

Response

Returns the updated fraud rules object. Same structure as the Get Fraud Rules response.