I'm looking for some advice around how to bring up the subject of payment when the media ask for use of a photo.

We had some massive storms in Brisbane on the weekend and I was approached by a media company who sell multimedia to news entities. I didn't know how to bring up how much they were willing to pay professionally, so I just handed the hires photos over to them, and later saw that they had sold the image to a news source, who had already added it to their story.
Seems silly of me, especially since the news source didn't credit the photo and I didn't get any cash. It's all good for exposure, but without an image credit, I feel like I should have asked for some form of payment.

Anyone have any tips for how I could have handled this situation better?

Thanks!