Skip to main content
POST
/
fraud
/
velocity
/
check
Check velocity limits
curl --request POST \
  --url https://api.txcloud.io/v1/fraud/velocity/check \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "action": "<string>",
  "user_id": "<string>",
  "ip_address": "<string>",
  "device_id": "<string>",
  "window": "<string>"
}
'
{
  "id": "<string>",
  "allowed": true,
  "reason": "<string>",
  "counts": {},
  "triggered_rules": [
    {}
  ],
  "retry_after": 123
}

Authorizations

Authorization
string
header
required

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

Body

application/json
action
string
required
user_id
string
ip_address
string
device_id
string
window
string

Response

200 - application/json

Velocity check result

id
string
allowed
boolean
reason
string
counts
object
triggered_rules
object[]
retry_after
integer