curl -X GET "https://olive-gateway-a6ba.onrender.com/api/v1/compliance/alerts?status=open&limit=20" \
-H "Authorization: Bearer olive_live_xxx"
{
"alerts": [
{
"id": 101,
"subscriber_id": "sub_abc123",
"alert_type": "VELOCITY_LIMIT",
"severity": "HIGH",
"details": "10 transactions in 5 minutes",
"status": "open",
"created_at": "2025-01-20T10:00:00Z"
}
],
"total": 1,
"limit": 20,
"offset": 0
}
List and filter compliance alerts
curl -X GET "https://olive-gateway-a6ba.onrender.com/api/v1/compliance/alerts?status=open&limit=20" \
-H "Authorization: Bearer olive_live_xxx"
{
"alerts": [
{
"id": 101,
"subscriber_id": "sub_abc123",
"alert_type": "VELOCITY_LIMIT",
"severity": "HIGH",
"details": "10 transactions in 5 minutes",
"status": "open",
"created_at": "2025-01-20T10:00:00Z"
}
],
"total": 1,
"limit": 20,
"offset": 0
}
Bearer olive_live_xxx (Compliance Officer/Admin)open, investigating, resolved, false_positivecurl -X GET "https://olive-gateway-a6ba.onrender.com/api/v1/compliance/alerts?status=open&limit=20" \
-H "Authorization: Bearer olive_live_xxx"
{
"alerts": [
{
"id": 101,
"subscriber_id": "sub_abc123",
"alert_type": "VELOCITY_LIMIT",
"severity": "HIGH",
"details": "10 transactions in 5 minutes",
"status": "open",
"created_at": "2025-01-20T10:00:00Z"
}
],
"total": 1,
"limit": 20,
"offset": 0
}