I think you did well. I would have done the same if I were you. If he is really, truly interested in you as a person, he will respect your decision and wait... But I fear that he was just looking for a hookup. Maybe you've had a hard time saying no because, as you said, he's exactly your type. I have to suggest you to not raise your hopes up, because bringing up sex before even meeting properly in person is a giant red flag.