Feature/subtract credits

Feature/subtract credits
I was also about `amount` ;) and no problem!