data['account_id'] = $payload->account->id; $payload->balance = $this->createBalanceCommand->execute($payload->data); return $next($payload->account); } catch (Exception $exception) { throw new LogicException('Error Storing Account Balance: '.$exception->getMessage()); } } }