Skip to main content
GET
/
api
/
v1
/
compliance
/
rules
curl -X GET "https://olive-gateway-a6ba.onrender.com/api/v1/compliance/rules" \
  -H "Authorization: Bearer olive_live_xxx"
{
  "rules": [
    {
      "id": 1,
      "name": "High Value Alert",
      "type": "AMOUNT_THRESHOLD",
      "threshold": 10000000,
      "action": "FLAG"
    },
    {
      "id": 2,
      "name": "Rapid Velocity",
      "type": "TRANSACTION_COUNT",
      "time_window": "5m",
      "threshold": 10,
      "action": "BLOCK"
    }
  ]
}
Configure dynamic rules for transaction monitoring.

Request

Authorization
string
required
Bearer olive_live_xxx (Admin)

Response

rules
array
List of active monitoring rules

Examples

curl -X GET "https://olive-gateway-a6ba.onrender.com/api/v1/compliance/rules" \
  -H "Authorization: Bearer olive_live_xxx"
{
  "rules": [
    {
      "id": 1,
      "name": "High Value Alert",
      "type": "AMOUNT_THRESHOLD",
      "threshold": 10000000,
      "action": "FLAG"
    },
    {
      "id": 2,
      "name": "Rapid Velocity",
      "type": "TRANSACTION_COUNT",
      "time_window": "5m",
      "threshold": 10,
      "action": "BLOCK"
    }
  ]
}