What exactly was the nature of this "message" Was it an actual notification from Apple, or was it just a texxt messages?
Scams (e-mail, text messages, and phone calls) are getting very good at closely imitating true Apple communications. Always be cautious. These support articles have some guidelines:
About identifying legitimate emails from the App Store and iTunes Store --> Identify legitimate emails from the App Store or iTunes Store - Apple Support
Recognize and avoid phishing messages, phony support calls, and other scams - Recognize and avoid phishing messages, phony support calls, and other scams - Apple Support
Avoid scams when you use Apple Cash --> Avoid Apple Cash scams - Apple Support
Apple 'How to identify, avoid, and report phishing' video--> https://youtu.be/SR3Z3fXXjfw
About Gift Card Scams --> About Gift Card Scams - Official Apple Support
If you are uncertain about a message and a resource provided in that message, do not click on any links in the message. Try to independently verify the resource by going to a support article page on apple.com and use the instructions in the article to verify though Apple itself, or your Apple device features such as Settings or an Apple app, what the message is claiming. To ask Apple start at this web page: Official Apple Support
This support article is Recommended by Apple as the preferred* resource for identifying payments you may see on a bill.
➜ If you see 'apple.com/bill' on your billing statement - Apple Support
"If you checked https://reportaproblem.apple.com and your emailed receipts and you're still not sure why you were charged, contact Apple Support" using this link --> https://getsupport.apple.com/?caller=ikb&PGF=PGF51002&category_id=SC0060&symptom_id=21084
______
* I have a payment of $2.99 per month what … - Apple Community