Compensation from a bank

Salaams

Is it permissible to accept compensation from a bank after I made a complaint? They locked my account and did not unlock it even after I provided them with further information. The compensation is for the worry and inconvenience caused.

Many thanks

Thanks

Wasalam

May Allah bless you.
In my opinion, yes it is permissible to take a valid compensation from a bank.

And Allah knows best!