curl -X POST https://api.scrip.dev/v1/rules/{ruleId}/simulate \
-H "Authorization: Bearer $SCRIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"event": {
"type": "purchase",
"amount": 50.00,
"category": "dining"
},
"participant_state": {
"tags": ["active"],
"counters": {"monthly_spend": 250},
"attributes": {"tier": "gold"}
}
}'