Skip to main content
POST
/
transactions
/
rules
Create rule
curl --request POST \
  --url https://api.txcloud.io/v1/transactions/rules \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "condition": "<string>",
  "action": "<string>",
  "score_adjustment": 123,
  "enabled": true
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
description
string
condition
string
action
string
score_adjustment
integer
enabled
boolean

Response

201

Rule created