changes for api spending transactions