curl --request POST \
--url http://localhost:3001/api/v1/business/fraud/rules \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"conditions": [
{
"field": "<string>",
"operator": "eq",
"value": {}
}
],
"match": "all",
"action": "ALLOW",
"description": "<string>",
"priority": 100,
"enabled": true,
"riskScore": 0,
"metadata": {}
}
'{
"success": true,
"data": {
"id": "<string>",
"businessId": "<string>",
"name": "<string>",
"priority": 123,
"enabled": true,
"conditions": {},
"action": "ALLOW",
"riskScore": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"metadata": {}
}
}curl --request POST \
--url http://localhost:3001/api/v1/business/fraud/rules \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"conditions": [
{
"field": "<string>",
"operator": "eq",
"value": {}
}
],
"match": "all",
"action": "ALLOW",
"description": "<string>",
"priority": 100,
"enabled": true,
"riskScore": 0,
"metadata": {}
}
'{
"success": true,
"data": {
"id": "<string>",
"businessId": "<string>",
"name": "<string>",
"priority": 123,
"enabled": true,
"conditions": {},
"action": "ALLOW",
"riskScore": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"metadata": {}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.useaxra.com/llms.txt
Use this file to discover all available pages before exploring further.
Show child attributes
all, any ALLOW, REVIEW, BLOCK 0 <= x <= 100