Skip to main content
PATCH
/
api
/
v1
/
business
/
fraud
/
rules
/
{id}
Update fraud rule
curl --request PATCH \
  --url http://localhost:3001/api/v1/business/fraud/rules/{id} \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "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.

Path Parameters

id
string
required

Body

application/json

The body is of type object.

Response

OK

success
boolean
required
Example:

true

data
object
required