Feature/subtract credits

Feature/subtract credits
walletId is needed, hence the file name ;)