Sorry to hear that your credits expired before you were able to use them.
As of today (March 2024):
- pre-paid credit expire after one year.
- Free credits, if you still got some, will expire after three months.
You can easily check the expiration dates of your pre-paid credits on the billing page of your account.