added status codes for pending, renamed other to status codes to match the statuses in the PHP lib