Skip to main content
POST
/
fraud
/
blocklist
Add to blocklist
curl --request POST \
  --url https://api.txcloud.io/v1/fraud/blocklist \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "type": "device",
  "value": "<string>",
  "reason": "<string>",
  "expires_at": "2023-11-07T05:31:56Z"
}
'

Authorizations

Authorization
string
header
required

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

Body

application/json
id
string
type
enum<string>
Available options:
device,
ip,
email,
phone,
document
value
string
reason
string
expires_at
string<date-time>

Response

201

Entity added