---
title: "POST /v1/fraud/rules"
method: POST
path: "/v1/fraud/rules"
---

# POST /v1/fraud/rules

`POST /v1/fraud/rules`

## Request body

- object
  - `rule_order` integer — Order of the rule attribute. The rule attribute determines the order; lower values are processed first.
  - `enabled` boolean — Enabled or disabled the rule.
  - `action` string — Action taken for this rule. Valid values `allow`, `block`, or `review`. Default is `review`.
  - `name` string — Name of the rule.
  - `rules` object[] — List of rule attributes
    - `rule_attribute` string — Name of the rule attribute. See /v1/fraud/rule-attributes.
    - `rule_value` string — Value of the rule attribute. The type of the value depends on the rule_attribute name.
  - `operator` string — Logical operator for the rules. Accepted value are "AND" and "OR".

## Response `200`

---

[API](https://skmtc.net/paymongo/apis/paymongo-api.md) · [All operations](https://skmtc.net/paymongo/apis/paymongo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paymongo/paymongo-api/versions/c18f9a027b2c/schema)
