Create a new monitoring rule
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/compliance/rules \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"notification_recipient": "<string>",
"rule_name": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({notification_recipient: '<string>', rule_name: '<string>'})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/compliance/rules', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://olive-gateway-a6ba.onrender.com/api/v1/compliance/rules"
payload = {
"notification_recipient": "<string>",
"rule_name": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{}{}Monitoring Rules
Create a new monitoring rule
Create a new transaction monitoring rule with thresholds and actions
POST
/
compliance
/
rules
Create a new monitoring rule
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/compliance/rules \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"notification_recipient": "<string>",
"rule_name": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({notification_recipient: '<string>', rule_name: '<string>'})
};
fetch('https://olive-gateway-a6ba.onrender.com/api/v1/compliance/rules', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://olive-gateway-a6ba.onrender.com/api/v1/compliance/rules"
payload = {
"notification_recipient": "<string>",
"rule_name": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{}{}Authorizations
API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'
Body
application/json
Monitoring Rule Details
Available options:
alert, block, review Available options:
active, inactive Response
Created
The response is of type object.
⌘I