api/deposit_status: Fix unexpected type error
Ids can be other types than string, join will not work on those. This commit fixes it.