Risk

Create fraud rule

Create fraud rule. Use the response status and request ID to decide whether to retry, reconcile, or ask the customer for action.

post/api/v1/fraud-rules

Request

  • Base URL
    https://merchant.zahlo.eu
  • Auth
    API key in header x-api-key

Headers

Idempotency-Keystring

Retry-safe key for create operations.

Request body

kind'block_email' | 'block_email_domain' | 'max_amount' | 'min_amount' | 'velocity_email_hour' required
valuestring required

An email (block_email), a domain (block_email_domain), an amount in minor units (max_amount/min_amount, with currency), or sessions per customer email per hour (velocity_email_hour).

currencystring

Required for amount rules.

enabledboolean

Response

Resource created

idstring required
object'fraud_rule' required
livemodeboolean required
createdAtstring date-time required
kind'block_email' | 'block_email_domain' | 'max_amount' | 'min_amount' | 'velocity_email_hour' required
valuestring required

An email (block_email), a domain (block_email_domain), an amount in minor units (max_amount/min_amount, with currency), or sessions per customer email per hour (velocity_email_hour).

currencystring nullable
enabledboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.