cURL
curl --request POST \ --url https://app.tagadapay.com/api/public/v1/block-rules \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Block High Risk Countries", "type": "country", "value": [ "XX", "YY" ], "enabled": true } '
{ "id": "rule_123", "name": "Block High Risk Countries", "enabled": true, "type": "country", "value": [ "XX", "YY" ], "createdAt": "2024-03-20T10:30:00Z" }
Create a new block rule for fraud prevention
Enter your API key as: Bearer your-api-key
Bearer your-api-key
1
OR
AND
1 <= x <= 8760
Show child attributes
Successful response