pub fn parse_event(id: &str, body: &[u8]) -> Result<DodoEvent, NotAnObject>
Reads a verified webhook body. Fails only when it isn’t a JSON object; every field inside is optional, and one of the wrong type counts as absent.