My son made the purchase by mistake

My son made the purchase by mistake, when they tried to make the debit it was rejected by my bank so the debit was not made but it blocked my AppStore user and it won’t let me download or update anything, I can’t request a refund because as such it wasn’t bought, so I would like to know what I can do? Do I have to pay for the app?

You’ll have contact Apple Support about that. We don’t have any way to help you with an App Store account. Requesting a refund for AnkiMobile - Anki Docs