pub fn terms_hash(json: &[u8]) -> [u8; 32]
sha256 of the terms JSON: what the order stores and a pay token must carry.