Payment failed Our last attempted charge was unsuccessful. Please update your payment method as soon as possible. File editing will be locked after 3 failed attempts

I paid the annual subscription for my Figma team, it’s been a month since I made the payment and so far everything was going well and recently I got this message “Payment failed Our last attempted charge was unsuccessful. Please update your payment method as soon as possible. File editing will be locked after 3 failed attempts.” and the charge was made to my card.