API credit are gone without been used

Hello. I purchased the lowest plan of API for 20EUR to bulk edit my images. It was for 1.000 images. When I ran the script, it only edited 231 images and then started to display an error on cmd that I’ve reached the api limit. When I get back to the app, the bar was full, 1.000/1.000 images although only 231 are actually edited. Why it happened and how can I fix it. Support chat sent me here.