Hi, without knowing the exact wording of the text, it’s impossible to say it’s a scam or not. However, the likelihood is extremely high. Apple will almost never text you. Your financial institution will. The fraud team will tell you the transaction is canceled, unless you call and speak to a representative to approve the transaction. Is that the wording, or is it just the opposite?
Scammers want you to call. Banks don’t need you to call, they already declined the transaction. Do you see the difference?
“Don't answer suspicious phone calls or messages claiming to be from Apple. Instead, contact Apple directly through our official support channels.”
”To report a suspicious SMS text message that looks like it's supposed to be from Apple, take a screenshot of the message and email the screenshot to reportphishing@apple.com.”
You can report phishing at these links and most importantly your local law enforcement.
Identify legitimate emails from the App Store or iTunes Store.
FTC Complaint Assistant
FBI’s Internet Crime Complaint Center
Learn about how not to be a victim of Social Engineering.
Recognize and avoid social engineering schemes including phishing messages, phony support calls, and other scams - Apple Support